R01UH0136EJ0210 Rev.2.10
Page 163 of 800
Jul 31, 2012
M16C/64A Group
12. Memory Space Expansion Function
Figure 12.7
Relationship between Addresses in 4-MB ROM and Those in MCU (2/3)
A20
A19
A18
N.C.
A17
A16
A15 to A0
Address input for 4-MB ROM
4-MB ROM
access area
A18
CS Output
Address Output
OFS
Access
Area
Output from the MCU Pins
CS3
CS2
CS1
A19
A17
A16
A15 to A0
000000h
Bank
Number
07FFFFh
080000h
0C0000h
100000h
140000h
180000h
1C0000h
200000h
240000h
280000h
2C0000h
300000h
340000h
380000h
Internal ROM access
3C0000h
Internal ROM access
Internal ROM access
Internal ROM access
A21
03FFFFh
040000h
0BFFFFh
0FFFFFh
13FFFFh
17FFFFh
1BFFFFh
1FFFFFh
23FFFFh
27FFFFh
2BFFFFh
2FFFFFh
33FFFFh
37FFFFh
3BFFFFh
3FFFFFh
0
1
2
3
4
5
6
7
7
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
7FFFFh
80000h
40000h
7FFFFh
40000h
7FFFFh
40000h
7FFFFh
40000h
7FFFFh
40000h
7FFFFh
40000h
7FFFFh
40000h
7FFFFh
40000h
7FFFFh
40000h
7FFFFh
40000h
7FFFFh
40000h
7FFFFh
40000h
7FFFFh
40000h
7FFFFh
40000h
7FFFFh
40000h
FFFFFh
80000h
7FFFFh
40000h
FFFFFh
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0000h
FFFFh
0000h
FFFFh
0000h
FFFFh
0000h
FFFFh
0000h
FFFFh
0000h
FFFFh
0000h
FFFFh
0000h
FFFFh
0000h
FFFFh
0000h
FFFFh
0000h
FFFFh
0000h
FFFFh
0000h
FFFFh
0000h
FFFFh
0000h
FFFFh
0000h
FFFFh
1
1
1
0
0
Memory expansion mode where the PM13 bit is 1
ROM address
MCU address
000000h
080000h
100000h
180000h
200000h
280000h
380000h
3FFFFFh
40000h
7FFFFh
3C0000h
340000h
2C0000h
240000h
1C0000h
140000h
0C0000h
040000h
bank
0
(256 KB)
bank
1
(256 KB)
bank
1
(256 KB)
bank
2
(256 KB)
bank
2
(256 KB)
bank
3
(256 KB)
bank
3
(256 KB)
bank
4
(256 KB)
bank
4
(256 KB)
bank
5
(256 KB)
bank
5
(256 KB)
bank
6
(256 KB)
bank
6
(256 KB)
bank
7
(256 KB)
Data only
300000h
bank
0
(256 KB)
OFS bit in DBR
register = 0
OFS bit in DBR
register = 1
40000h
7FFFFh
40000h
7FFFFh
40000h
7FFFFh
40000h
7FFFFh
40000h
7FFFFh
40000h
7FFFFh
40000h
7FFFFh
40000h
7FFFFh
40000h
7FFFFh
40000h
7FFFFh
40000h
7FFFFh
40000h
7FFFFh
40000h
7FFFFh
40000h
7FFFFh
Program
or data
bank
7
(256 KB)
40000h
7FFFFh
Data only
Содержание M16C/60 Series
Страница 853: ...M16C 64A Group R01UH0136EJ0210...