R8C/2A Group, R8C/2B Group
3. Memory
3. Memory
3.1 R8C/2A Group
Figure 3.1 is a Memory Map of R8C/2A Group. The R8C/2A group has 1 Mbyte of address space from addresses
00000h to FFFFFh.
The internal ROM is allocated lower addresses, beginning with address 0FFFFh. For example, a 48-Kbyte internal
ROM area is allocated addresses 04000h to 0FFFFh.
The fixed interrupt vector table is allocated addresses 0FFDCh to 0FFFFh. They store the starting address of each
interrupt routine.
The internal RAM is allocated higher addresses, beginning with address 00400h. For example, a 2.5-Kbyte internal
RAM area is allocated addresses 00400h to 00DFFh. The internal RAM is used not only for storing data but also
for calling subroutines and as stacks when interrupt requests are acknowledged.
Special function registers (SFRs) are allocated addresses 00000h to 002FFh. The peripheral function control
registers are allocated here. All addresses within the SFR, which have nothing allocated are reserved for future use
and cannot be accessed by users.
00000h
002FFh
SFR
(Refer to 4. Special
Function Registers
(SFRs))
00400h
0XXXXh
03000h
0WWWWh
Internal RAM
Internal RAM
0YYYYh
0FFFFh
ZZZZZh
FFFFFh
Internal ROM
(program ROM)
Internal ROM
(program ROM)
Expanded area
0FFDCh
0FFFFh
Undefined instruction
Overflow
BRK instruction
Address match
Single step
Watchdog timer, oscillation stop detection, voltage monitor
(Reserved)
(Reserved)
Reset
NOTE:
1. The blank regions are reserved. Do not access locations in these regions.
Size
48 Kbytes
64 Kbytes
96 Kbytes
128 Kbytes
Internal ROM
Address 0YYYYh
04000h
04000h
04000h
04000h
Address ZZZZZh
−
13FFFh
1BFFFh
23FFFh
Size
2.5 Kbytes
3 Kbytes
7 Kbytes
7.5 Kbytes
Internal RAM
Address 0XXXXh Address 0WWWWh
00DFFh
00FFFh
011FFh
011FFh
−
−
03DFFh
03FFFh
Figure 3.1 Memory Map of R8C/2A Group
Rev.2.10 Nov 26, 2007 Page 20 of 60
REJ03B0182-0210