RAM-org

Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

Internal RAM organization of 8051 :

• 8051 Micro controller is 8-bit controller. It contain 128Byte of internal RAM.


Internal RAM divided into three section.
32 bytes-Register Bank.
16 Byte-bit addressable area.
 80 byte-General purpose area & SFR.

• 32 Byte-Register Bank
There are four register bank into RAM. Each register bank contain 8
registers of 1byte. So total 32 register in register bank. By default register bank 0 is
selected. To change the register bank we have to set value of two register selection bit
in PSW register.
•16Byte for bit addressable Area.
In RAM there are 16 byte area in which 128 bit we can accessed by
suitable instruction. The address range of bits addressable area is 00h
(LSB of first byte of 20h ) to 7Fh(MSB of last byte if 2Fh).

• 80 byte-General purpose area & SFR.


remaining 80 bytes are general purpose area which are shared with
DATA and SFR (special function register) SFR contain special register
like ACC,B,IP,IE etc.
Special function registers with their addresses :

You might also like