hello, im working on a project that reads serial data from RFID scanner...... Now the problem is the serial data is unable to be fetched..... im using at89s52 microcontroller... the instruction
MOV A,SBUF
doesnt copy the sbuf data to the accumulator for further processing... the RI pin goes high on recieving data n its been cleared through programming..... the only problem is the data is not been copied to accumulator.....
plz help.... thnku.....
also i hv also tried putting data on port0 yet having d same problem Elaborate the problem. What did you get on Port?
why dont u try using the address of A reg instead? Reg A address is 0x0E0
MOV A, SBUF or MoV 0E0H, SBUF or etc..
show relevant code
why dont u try using the address of A reg instead? And how's that supposed to make any difference?
MoV 0E0H, SBUF
No such instruction in an 8051.
Really? And would you mind explaining how you arrived at that rather wild conclusion?
http://www.keil.com/support/man/docs/is51/is51_mov.htm
Look at the MOV dest_direct, src_direct
Blimey, looks like not actually having used 8051 actively in 10 years finally caught up with me. Sorry for that misinformation.
But there's something useful that came of it, too: at least it confirmed that my anonymous coward of a personal troll still has found no better use of her time than to monitor the forum for postings I might write.
But there's something useful that came of it, too ...
I would respond in the same way to any such post that I happen to notice.