A microcontroller 8051 has ___________general purpose registers

A microcontroller 8051 has ___________general purpose registers
| A microcontroller 8051 has ___________general purpose registers

A. 8

B. 32

C. 4

D. 16

Please scroll down to see the correct answer and solution guide.

Right Answer is: B

SOLUTION

The 8051 microcontroller consists of four register banks,

such as Bank0, Bank1, Bank2, Bank3 which are selected by the PSW (Program Status Word) register.

These register banks are present in the internal RAM memory of the 8051 microcontrollers and are used to process the data when the microcontroller is programmed.

Notes:

The Block Diagram of an 8051 microcontroller is as shown:

In an 8051 microcontroller,

  • Internal RAM (data memory) - 128 bytes
  • Internal memory (code memory) - 4 kB (ROM)
  • Timer/counter - 2
  • No. of interrupt - 5
  • I/O pins - 32
  • Serial port - 1