Datasheet

R8C/M11A Group, R8C/M12A Group 3. Address Space
R01DS0010EJ0200 Rev.2.00 Page 14 of 45
May 31, 2012
3. Address Space
3.1 Memory Map
Figure 3.1 shows the Memory Map. The R8C/M11A Group and R8C/M12A Group have a 1-Mbyte address space
from addresses 00000h to FFFFFh. The internal ROM (program ROM) is allocated at lower addresses, beginning
with address 0FFFFh. For example, an 8-Kbyte internal ROM area is allocated at addresses 0E000h to 0FFFFh.
The fixed interrupt vector table is allocated at addresses 0FFDCh to 0FFFFh. The start address of each interrupt
routine is stored here.
The internal ROM (data flash) is allocated at addresses 03000h to 037FFh.
The internal RAM is allocated at higher addresses, beginning with address 00400h. For example, a 512-byte
internal RAM area is allocated at addresses 00400h to 005FFh. 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 at 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
Notes:
1. Data flash indicates block A (1 Kbyte) and block B (1 Kbyte).
2. The blank areas are reserved. No access is allowed.
0XXXXh
00000h
Internal ROM
(program ROM)
Internal RAM
SFR
(See 3.2 Special
Function Registers
(SFRs))
Internal ROM
(data flash)
(1)
Expanded area
002FFh
03000h
037FFh
0YYYYh
0FFFFh
FFFFFh
00400h
0FFFFh
0FFDCh
0FFD8h
Watchdog timer, oscillation stop detection, voltage monitor 1
Undefined instruction
Overflow
BRK instruction
Address match
Single-step
(Reserved)
(Reserved)
Reset
Reserved area
Part Number
R5F2M110ANSP, R5F2M110ANDD, R5F2M110ADSP,
R5F2M120ANSP, R5F2M120ANDD, R5F2M120ADSP
R5F2M111ANSP, R5F2M111ANDD, R5F2M111ADSP,
R5F2M121ANSP, R5F2M121ANDD, R5F2M121ADSP
R5F2M112ANSP, R5F2M112ANDD, R5F2M112ADSP,
R5F2M122ANSP, R5F2M122ANDD, R5F2M122ADSP
Capacity Address 0YYYYh
2 Kbytes
4 Kbytes
8 Kbytes
0F800h
0F000h
0E000h
Internal ROM
Address 0XXXXh
Capacity
256 bytes
384 bytes
512 bytes
004FFh
0057Fh
005FFh
Internal RAM