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

Poly Notes Hub

One stop solution for Diploma Engineering Notes


Printed on 05/09/2023

Internal RAM Structure of 8051


August 19, 2023
Categories: Microcontroller
Tags: bit addressable area of 8051, diploma engineering notes, ee notes, eee notes, etce 5th sem notes,
internal construction of ram of 8051, internal RAM structure of 8051, memory organization of 8051,
polytechnic notes, ragisters of 8051
Introduction
In this article, we are discussing about the Internal RAM structure of 8051. 8051 Microcontroller is a 8-bit
microcontroller. It contains 128 byte of internal RAM. This internal RAM of 8051 is divided into three sections
which are followings-
32 bytes – Register Bank
16 bytes – Bit Addressable Area
80 bytes – Scratch Pad Area & SFR
Below shows the Internal Architecture of 8051 RAM.

RAM Architecture of 8051

Click Here for More Notes


About the Sections of RAM Architecture
32 Byte – Register Bank
There are four register banks in the RAM . Each register bank contains 8 registers of 1 byte. So a total of 32
registers in the register bank by default register bank 0 is selected to change the registered bank. We have to
set the value of two register selection bits in the PSW register.

16 Byte – Bit Addressable Area


In RAM of 8051, there are 16 byte areas in which 128 bit we can accessed by suitable instruction. The address
range of bits addressable area is 00th ( LSB of first byte of 20h ) to 7Fh ( MSB of last byte of 2Fh )

80 Byte – Scratch Pad Area & SFR


Remaining 80 bytes are general purpose area which are shared with DATA and SFR (Special Function Register)
upper 128 byte of RAM accessed indirect addressing while SFR accessed by direct addressing only. SFR
contains special registers like ACC, B, IE, IP, etc.

Posted To:
Apaul@blog

Follow Admin at

You might also like