??? 06/29/05 14:55 Read: times |
#96192 - double function of SBUF Responding to: ???'s previous message |
Rahil Aslam said:
3)As i receive the data in SBUF and then bring it ACCUMULATOR, then if i want to send the same data to serial, what should i do. There are in fact two registers at the same SBUF address: if you write, you write into the buffer of transmitter, if you read, you read the buffer of receiver. So you receive your data and read into accumulator mov a,SBUFyou can echo it back simply by mov SBUF,a Jan Waclawek |
Topic | Author | Date |
function of 8051 pins | 01/01/70 00:00 | |
double functions | 01/01/70 00:00 | |
a requirement | 01/01/70 00:00 | |
Yeah... and it's really big too! :) | 01/01/70 00:00 | |
port0 | 01/01/70 00:00 | |
thanks | 01/01/70 00:00 | |
do not SHOUT | 01/01/70 00:00 | |
A couple more little things | 01/01/70 00:00 | |
PORT2 during MOVX @Ri | 01/01/70 00:00 | |
which should'nt be a problem | 01/01/70 00:00 | |
Same thought, almost same time | 01/01/70 00:00 | |
Port 2 in memory access | 01/01/70 00:00 | |
double function of SBUF | 01/01/70 00:00 | |
thank you jan waclawek![]() | 01/01/70 00:00 |