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.