Machine-translated by Google. Questions are authored in English.
Top

Discussion

The register which acts as 'receive' and 'transmit' buffer in serial communication in 8051 is :

  • A.SCON
  • B.PCON
  • C.SBUF
  • D.Accumulator

Answer: C

The register is SBUF.

SBUF (serial buffer) at SFR address 99H is really two registers at one address: writing to it loads the transmit buffer and starts transmission, and reading it returns the byte received.

SCON is the serial control register, which sets the mode and holds the TI and RI flags. PCON holds the SMOD bit that doubles the baud rate, among power control bits. The accumulator only passes data to and from SBUF; it is not the serial buffer.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.