Loading....
Coupon Accepted Successfully!

 

Architecture Of 8051 Microcontroller

 

Schematic block diagram of 8051 microcontroller

 

Table: Program status bits and their functions
 

Symbol Position Address Function
CY PSW.7 D7H Carry flag
AC PSW.6 D6H Auxiliary carry flag.
F0 PSW.5 D5H Flag 0. Available to the user for general purpose.
RS1 PSW.4 D4H Register bank selector bit 1. Set by software to select the register bank which will be used.
RS0 PSW.3 D3H Register bank selector bit 0. Set by software to select the register bank which will be used.
OV PSW.2 D2H Overflow flag.
PSW.1 D1H Usable as a general-purpose flag.
P PSW.0 D0H Parity flag. Set/cleared by hardware each instruction cycle to indicate an odd/even number of ‘1’ in the accumulator.


Table: Register Bank Selections
 

RS1 RS0 Register Bank Address Range 
0 0 0 00H – 07H
0 1 1 08H – 0FH
1 0 2 10H – 17H
1 1 3 18H – 1FH
 





Test Your Skills Now!
Take a Quiz now
Reviewer Name