Datasheet

R8C/2K Group, R8C/2L Group 3. Memory
Rev.1.10 Dec 21, 2007 Page 15 of 45
REJ03B0219-0110
3. Memory
3.1 R8C/2K Group
Figure 3.1 is a Memory Map of R8C/2K Group. The R8C/2K 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 16-Kbyte internal
ROM area is allocated addresses 0C000h 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 1.5-Kbyte internal
RAM area is allocated addresses 00400h to 009FFh. 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.
Figure 3.1 Memory Map of R8C/2K Group
Undefined instruction
Overflow
BRK instruction
Address match
Single step
Watchdog timer/oscillation stop detection/voltage monitor
(Reserved)
(Reserved)
Reset
00400h
002FFh
00000h
Internal RAM
SFR
(Refer to 4. Special
Function Registers
(SFRs))
0FFFFh
0FFDCh
NOTE:
1. The blank regions are reserved. Do not access locations in these regions.
FFFFFh
0FFFFh
0YYYYh
Internal ROM
(program ROM)
0XXXh
Part Number
Internal ROM Internal RAM
Size Size
R5F212K2SNFP, R5F212K2SDFP,
R5F212K2SNXXXFP, R5F212K2SDXXXFP
R5F212K4SNFP, R5F212K4SDFP,
R5F212K4SNXXXFP, R5F212K4SDXXXFP
8 Kbytes
16 Kbytes
0E000h
0C000h
1 Kbyte
1.5 Kbytes
007FFh
009FFh
Address 0YYYYh Address 0XXXXh