CHAPTER 3 CPU FUNCTIONS
User’s Manual U13850EJ4V0UM
92
(2) Memory address output mode register (MAM)
Sets the mode of ports 3, 10, and 11. Separate output can be set for the address bus (A1 to A15) in the external
expansion mode.
The MAM register can be written in 8-bit units. If read is performed, undefined values will be read. However, bits
3 to 7 are fixed to 0.
Figure 3-22. Memory Address Output Mode Register (MAM) Format
After reset: 00H
W
Address: FFFFF068H
Symbol
7
6
5
4
3
2
1
0
MAM
0
0
0
0
0
MAM2
MAM1
MAM0
MAM2
MAM1
MAM0
Address space
Port 11
Port 10
Port 3
0
0
0
−
Port mode
0
1
0
32 bytes
0
1
1
512 bytes
1
0
0
8 KB
1
0
1
16 KB
1
1
0
32 KB
1
1
1
64 KB
A1 to A4
A5 to
A8
A9 to
A12
A13
A14
A15
Caution Debugging the memory address output mode register (MAM) an in-circuit emulator is not
available. Also, setting the MAM register by software cannot switch to the separate bus.
For details, refer to the relevant User’s Manual of in-circuit emulator.
Remark
For details of the operation of each port, see
2.3 Description of Pin Functions
.
The separate path outputs are output from P34 to P36, P100
to P107, and P110 to P113. The procedure for
performing separate path output is shown below.
<1> Set the Pn bit of Port m (Pm) used for separate output to 0 (m = 3, 10, 11).
<2> Set the PMn bit of the port m mode register (PMm) to 0 (output mode) (m = 3, 10, 11).
<3> When the port to be used for the separate path is used as an alternate-function pin for other than the
separate path, turn off the function used by the alternate-function pin.
<4> Set the memory address output mode register (MAM).
<5> Set the memory expansion mode register (MM).
Remark
m = 3: n = 34 to 36
m = 10: n = 100 to 107
m = 11: n = 110 to 113