R8C/13 Group
3. Memory
3. Memory
Figure 3.1 is a memory map of this MCU. This MCU provides 1-Mbyte address space from addresses
0000016 to FFFFF16.
The internal ROM (program ROM) is allocated lower addresses beginning with address 0FFFF16. For
example, a 16-Kbyte internal ROM is allocated addresses from 0C00016 to 0FFFF16.
The fixed interrupt vector table is allocated addresses 0FFDC16 to 0FFFF16. They store the starting
address of each interrupt routine.
The internal ROM (data flash) is allocated addresses from 0200016 to 02FFF16.
The internal RAM is allocated higher addresses beginning with address 0040016. For example, a 1-Kbyte
internal RAM is allocated addresses 0040016 to 007FF16. The internal RAM is used not only for storing
data, but for calling subroutines and stacks when interrupt request is acknowledged.
Special function registers (SFR) are allocated addresses 0000016 to 002FF16. The peripheral function
control registers are located them. All addresses, which have nothing allocated within the SFR, are re-
served area and cannot be accessed by users.
0000016
SFR
(See Chapter 4 for details.)
002FF16
0040016
Internal RAM
0XXXX16
0200016
Internal ROM
0FFDC16
(data flash)
Undefined instruction
(1)
Overflow
02FFF16
BRK instruction
Address match
Single step
Watchdog timer,Oscillation stop detection,Voltage detection
0YYYY16
0FFFF16
Internal ROM
(program ROM)
(Reserved)
(Reserved)
Reset
0FFFF16
Expansion area
FFFFF16
NOTES:
1. The data flash block A (2K bytes) and block B (2K bytes) are shown.
2. Blank spaces are reserved. No access is allowed.
Internal ROM
Internal RAM
Type name
Address 0YYYY16
Address 0XXXX16
Size
Size
16K bytes
0C00016
0D00016
0E00016
R5F21134FP, R5F21134DFP
R5F21133FP, R5F21133DFP
R5F21132FP, R5F21132DFP
1K bytes
007FF16
006FF16
005FF16
12K bytes
8K bytes
768 bytes
512 bytes
Figure 3.1 Memory Map
Rev.1.20 Jan 27, 2006 page 9 of 205
REJ09B0111-0120