Datasheet

R8C/32D Group 3. Memory
REJ03B0288-0100 Rev.1.00 Feb 26, 2010
Page 12 of 42
3. Memory
3.1 R8C/32D Group
Figure 3.1 is a Memory Map of R8C/32D Group. The R8C/32D Group has a 1-Mbyte address space from addresses
00000h to FFFFFh. The internal ROM (program 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. The starting address of each interrupt
routine is stored here.
The internal RAM is allocated higher addresses, beginning with address 00400h. For example, a 1-Kbyte internal
RAM area is allocated addresses 00400h to 007FFh. The internal RAM is used not only for data storage but also as
a stack area when a subroutine is called or when an interrupt request is acknowledged.
Special function registers (SFRs) are allocated addresses 00000h to 002FFh. Peripheral function control registers
are allocated here. All unallocated spaces within the SFRs are reserved and cannot be accessed by users.
Figure 3.1 Memory Map of R8C/32D Group
Part Number
R5F21321DNSP, R5F21321DDSP
R5F21322DNSP, R5F21322DDSP
R5F21324DNSP, R5F21324DDSP
Internal ROM Internal RAM
Size Address 0YYYYh Size Address 0XXXXh
4 Kbytes
8 Kbytes
16 Kbytes
0F000h
0E000h
0C000h
1 Kbyte
1 Kbyte
1 Kbyte
007FFh
007FFh
007FFh
0FFFFh
0FFDCh
Note:
1. The blank areas are reserved and cannot be accessed by users.
FFFFFh
0FFFFh
0YYYYh
0XXXXh
00400h
002FFh
00000h
Internal ROM
(program ROM)
Internal RAM
SFR
(Refer to 4. Special
Function Registers
(SFRs))
0FFD8h
Reserved area
Undefined instruction
Overflow
BRK instruction
Address match
Single step
Watchdog timer, oscillation stop detection, voltage monitor
(Reserved)
(Reserved)
Reset