arrow
arrow
arrow
The SBUF register in the 8051 is used for .
Question

The SBUF register in the 8051 is used for .

A.

Storing the status of serial communication

B.

Sending and receiving serial data

C.

Storing the baud rate

D.

Temporary storage of accumulator data

Correct option is B

The SBUF (Serial Buffer Register) in the 8051 microcontroller is used for serial data transmission and reception.

Although it appears as a single register in programming, it actually consists of two separate buffers internally:

  • Transmit Buffer – Holds the data to be transmitted.
  • Receive Buffer – Stores the received data.

When:

  • A byte is written to SBUF, it is transmitted serially through the TXD pin.
  • A byte is received through the RXD pin, it is stored in SBUF, from where the CPU can read it.
test-prime-package

Access ‘NALCO’ Mock Tests with

  • 1.5 Lakhs+ Mocks and Previous Year Papers
  • Unlimited Re-Attempts
  • Personalised Report Card
  • 500% Refund on Final Selection
  • Largest Community
students-icon
590k+ students have already unlocked exclusive benefits with Test Prime!
test-prime-package

Access ‘NALCO’ Mock Tests with

  • 1.5 Lakhs+ Mocks and Previous Year Papers
  • Unlimited Re-Attempts
  • Personalised Report Card
  • 500% Refund on Final Selection
  • Largest Community
students-icon
590k+ students have already unlocked exclusive benefits with Test Prime!
Our Plans
Monthsup-arrow