Table of Contents

Advertisement

M16C/64C Group
12.3.2

4-MB Mode

In 4-MB mode, the memory space is 4 MB. Bits BSR2 to BSR0 in the DBR register select the bank
number to be accessed to read or write data. Setting the OFS bit to 1 (offset) allows the accessed
address to be offset by 40000h.
In 4-MB mode, the CSi pin function differs depending on the area to be accessed.
12.3.2.1
Addresses 04000h to 3FFFFh, C0000h to FFFFFh
The CSi signal is output from the CSi pin (same operation as 1-MB mode, except the last address
of the CS1 area is up to 3FFFFh).
12.3.2.2
Addresses 40000h to BFFFFh
The CS0 pin outputs a low-level signal.
Pins CS3 to CS1 output the setting values of bits BSR2 to BSR0 (bank number).
Figure 12.3 and Figure 12.4 show the memory mapping and CS areas in 4-MB mode.
Note that banks 0 to 6 are data-only areas. Place programs in bank 7 or the CSi area.
R01UH0092EJ0110 Rev.1.10
Jul 31, 2012
12. Memory Space Expansion Function
Page 158 of 807

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/60 seriesM16c series

Table of Contents