R01UH0136EJ0210 Rev.2.10
Page 164 of 800
Jul 31, 2012
M16C/64A Group
12. Memory Space Expansion Function
Figure 12.8
Relationship between Addresses in 4-MB ROM and Those in MCU (3/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
Bank
Number
A21
0
1
2
3
4
5
6
7
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
000000h
040000h
080000h
0C0000h
100000h
140000h
180000h
1C0000h
200000h
240000h
280000h
2C0000h
300000h
340000h
380000h
3C0000h
3C0000h
07FFFFh
0BFFFFh
0FFFFFh
13FFFFh
17FFFFh
1BFFFFh
1FFFFFh
23FFFFh
27FFFFh
2BFFFFh
2FFFFFh
33FFFFh
37FFFFh
3BFFFFh
3BFFFFh
3FFFFFh
3FFFFFh
40000h
80000h
C0000h
BFFFFh
40000h
BFFFFh
40000h
BFFFFh
40000h
BFFFFh
40000h
BFFFFh
40000h
BFFFFh
40000h
BFFFFh
40000h
BFFFFh
40000h
BFFFFh
40000h
BFFFFh
40000h
BFFFFh
40000h
BFFFFh
40000h
BFFFFh
40000h
BFFFFh
40000h
7FFFFh
BFFFFh
FFFFFh
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
1
1
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
0000h
FFFFh
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
1
1
1
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
1
1
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
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
1
0
0
1
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
0
1
0
1
0
1
Microprocessor mode
ROM address
MCU address
OFS bit in DBR
register = 0
OFS bit in DBR
register = 1
000000h
080000h
100000h
180000h
200000h
280000h
380000h
3FFFFFh
40000h
BFFFFh
3C0000h
340000h
2C0000h
240000h
1C0000h
140000h
0C0000h
040000h
Data only
Program
or data
300000h
40000h
40000h
40000h
40000h
40000h
40000h
40000h
BFFFFh
BFFFFh
BFFFFh
BFFFFh
BFFFFh
BFFFFh
40000h
BFFFFh
40000h
BFFFFh
40000h
BFFFFh
40000h
BFFFFh
40000h
BFFFFh
40000h
BFFFFh
40000h
BFFFFh
Program
or data
FFFFFh
7FFFFh
C0000h
bank
0
(512 KB)
bank
1
(512 KB)
bank
2
(512 KB)
bank
3
(512 KB)
bank
2
(512 KB)
bank
1
(512 KB)
bank
0
(512 KB)
bank
3
(512 KB)
bank
4
(512 KB)
bank
4
(512 KB)
bank
5
(512 KB)
bank
6
(512 KB)
bank
5
(512 KB)
bank
7
(512 KB)
bank
6
(512 KB)
Содержание M16C/60 Series
Страница 853: ...M16C 64A Group R01UH0136EJ0210...