Unit No. 4 Microcontroller ( C) : Important Features and Applications
Unit No. 4 Microcontroller ( C) : Important Features and Applications
Memory Architecture
The 8021 has four distinct types of memory - internal RAM, special function registers, program memory, and
external data memory.
External Data memory: Internal RAM (IRAM) is located from address 0 to address 0xFF. IRAM from 0x00 to
0x7F can be accessed directly.
Special function registers (SFR) are located from address 0x80 to 0xFF, and are accessed directly using the
same instructions as for the lower half of IRAM.
Program memory is located starting at address 0. It may be on- or off-chip, depending on the particular model of
chip being used. Program memory is read-only, though some variants of the 8051 use on-chip flash memory and
provide a method of re-programming the memory in-system or in-application.
Page 41
Computer Science ( D9) XII - Paper –II
8052:
1. 8052 is a simple expansion of 8051
2. 8052 has 8K bytes of onboard ROM and 256 bytes of onboard RAM
3. 8053 allows programmers to write larger programs and that can use more data.
4. The cost of 8052 is more than that 8051.
5. The 8052 has one extra 16 bit counter timer.
Page 42