Datasheet
R01DS0031EJ0210 Rev.2.10 Page 28 of 111
Jul 31, 2012
M16C/65 Group 3. Address Space
3. Address Space
3.1 Address Space
The M16C/65 Group has a 1 MB address space from 00000h to FFFFFh. Address space is expandable to 4
MB with the memory area expansion function. Addresses 40000h to BFFFFh can be used as external areas
from bank 0 to bank 7. Figure 3.1 shows the Address Space. Areas that can be accessed vary depending
on processor mode and the status of each control bit.
Figure 3.1 Address Space
Bank 7
Bank 6
Bank 5
Bank 4
Bank 3
Bank 2
Bank 1
In 4 MB mode
Internal RAM
Reserved area
00000h
0D000h
SFR
00400h
SFR
0D800h
Internal ROM
(data flash)
0E000h
Internal ROM
(program ROM 2)
10000h
Reserved area
Internal ROM
(program ROM 1)
14000h
FFFFFh
Reserved area
28000h
27000h
External area
External area
External area
40000h
BFFFFh
Bank 0
04000h
External area
Internal RAM is allocated from
address 00400h higher.
Program ROM 1 is allocated from
address FFFFFh lower.
When data flash is enabled
When program ROM 2
is enabled
Memory expansion mode
1 MB
address space
512 KB ×
8
Notes:
1. Do not access reserved areas.
2. The figure above applies under the following conditions:
- The PM13 bit in the PM1 register is 0
(addresses 04000h to 0CFFFh and 80000h to CFFFFh are used as external areas)
- The IRON bit in the PRG2C register is 0
(addresses 40000h to 7FFFFh are used as an external area)
D0000h