
M16C/62 Group (M16C/62P, M16C/62PT)
page 23
3. Memory
4
8
f
3
0
0
2
,
0
.
o
N
0
1
e
R
3. Memory
Figure 3.1 is a memory map of the M16C/62P group. The address space extends the 1M bytes from
address 00000h to FFFFFh.
The internal ROM is allocated in a lower address direction beginning with address FFFFFh. For example, a
64-Kbyte internal ROM is allocated to the addresses from F0000h to FFFFFh.
As for the flash memory version, 4-Kbyte space (block A) exists in 0F000h to 0FFFFh. 4-Kbyte space is
mainly for storing data. In addition to storing data, 4-Kbyte space also can store programs.
The fixed interrupt vector table is allocated to the addresses from FFFDCh to FFFFFh. Therefore, store the
start address of each interrupt routine here.
The internal RAM is allocated in an upper address direction beginning with address 00400h. For example,
a 10-Kbyte internal RAM is allocated to the addresses from 00400h to 02BFFh. In addition to storing data,
the internal RAM also stores the stack used when calling subroutines and when interrupts are generated.
The SRF is allocated to the addresses from 00000h to 003FFh. Peripheral function control registers are
located here. Of the SFR, any area which has no functions allocated is reserved for future use and cannot
be used by users.
The special page vector table is allocated to the addresses from FFE00h to FFFDBh. This vector is used by
the JMPS or JSRS instruction. For details, refer to the
M16C/60 and M16C/20 Series Software Manual
.
In memory expansion and microprocessor modes, some areas are reserved for future use and cannot be
used by users. Use M16C/62P (80-pin version) and M16C/62PT in single-chip mode. The memory expan-
sion and microprocessor modes cannot be used.
Figure 3.1 Memory Map
00000h
XXXXXh
AAAAAA
(2)
YYYYYh
AAAAAA
80000h
AAAAAA
28000h
AAAAAA
Reserved area
AAAAAA
External area
AAAAAA
10000h
Internal ROM
(program area)
SFR
Internal RAM
Reserved area
(1)
FFFDCh
NOTES:
1. During memory expansion and microprocessor modes, can not be used.
2. In memory expansion mode, can not be used.
3. As for the flash memory version, 4-Kbyte space (block A) exists.
4. Shown here is a memory map for the case where the PM10 bit in the PM1 register is
“
1
”
and the PM13 bit in the PM1 register is
“
1
”
.
Undefined instruction
Overflow
BRK instruction
Address match
Single step
Watchdog timer
DBC
NMI
Reset
Special page
vector table
4K bytes
013FFh
02BFFh
017FFh
Address XXXXXh
033FFh
10K bytes
5K bytes
12K bytes
Size
Address YYYYYh
Size
F0000h
E8000h
F4000h
96K bytes
48K bytes
64K bytes
External area
00400h
27000h
FFFFFh
E0000h
256K bytes
128K bytes
192K bytes
D0000h
320K bytes
C0000h
B0000h
384K bytes
A0000h
512K bytes
80000h
063FFh
053FFh
07FFFh
24K bytes
20K bytes
31K bytes
Internal RAM
Internal ROM
(3)
043FFh
16K bytes
FFE00h
FFFFFh
Internal ROM
0FFFFh
0F000h