INternal memory of 8051
The internal memory of 8051 is of 2 types –
- Internal ROM (Program Memory)
- Internal RAM (Data Memory)
- Internal ROM (Program Memory)
- 8051 has 4 kB internal Read Only Memory.
- It mainly contains some executable functions and some data which may never change.
- Address range is 0000H to FFFFH.
- EA(bar) is used to allow usage of Internal ROM or not.
2. Internal RAM (Data Memory)
- 8051 has 128 B internal Random Access Memory.
- Data Memory is used for temporarily storing data and intermediate results created and used during the operation of the microcontroller.
- It mainly contains register banks , Read/write data, bit addressable registers and stack.
- Address range is 0000H to FFFFH.
- PSEN(bar) is used to allow usage of Internal ROM or not.