74
7641 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
MITSUBISHI MICROCOMPUTERS
PRELIMINARY
Notice: This is not a final specification.
change.
Some parametric limits are subject to
PROCESSOR MODE
Single-chip mode, memory expansion mode, and microprocessor
mode which is only in the mask ROM version can be selected by
using the Processor Mode Bits of CPU mode register A (bits 0 and
1 of address 0000
16
). In the memory expansion mode and micro-
processor mode, a memory can be expanded externally via ports
P0 to P3. In these modes, ports P0 to P3 lose their I/O port func-
tions and become bus pins.
The port direction registers corresponding to those ports become
external memory areas.
Fig. 69 Memory maps in processor modes other than single-
chip mode
(1) Single-chip mode
Select this mode by resetting the MCU with CNV
SS
connected to
V
SS
.
(2) Memory expansion mode
Select this mode by setting the Processor Mode Bits (b1, b0) to
“
01
”
in software with CNV
SS
connected to V
SS
. This mode enables
external memory expansion while maintaining the validity of the in-
ternal ROM.
(3) Microprocessor mode
Select this mode by resetting the MCU with CNV
SS
connected to
V
CC
, or by setting the Processor Mode Bits (b1, b0) to
“
10
”
in soft-
ware with CNV
SS
connected to V
SS
. In the microprocessor mode,
the internal ROM is no longer valid and an external memory must
be used.
Do not set this mode in the flash memory version.
Port Name
Port P0
Port P1
Port P2
Port P3
Function
Outputs low-order 8 bits of address.
Outputs high-order 8 bits of address.
Operates as I/O pins for data D
7
to D
0
(including
instruction code).
P3
0
is the RDY input pin.
P3
1
and P3
2
function only as output pins
P3
3
is the DMA
OUT
output pin.
P3
4
is the
φ
OUT
output pin.
P3
5
is the SYNC
OUT
output pin.
P3
6
is the WR output pin, and P3
7
is the RD out-
put pin.
P4
0
is the EDMA pin.
Table 9 Port functions in memory expansion mode and
microprocessor mode
Port P4
8000
16
0
4
7
0
1
6
0
0
0
0
1
6
F
F
M
h
F
F
1
e
m
6
0
0
0
0
0
1
8
1
0
1
6
6
I
n
t
e
r
n
a
l
R
A
M
SFR area
0
0
7
0
1
6
Internal ROM
M
3
7
6
4
1
M
8
S
F
R
a
r
e
a
o
r
y
e
x
p
a
n
s
i
o
n
m
o
d
e
M
i
c
r
o
p
r
o
c
e
s
s
o
r
m
o
d
e
T
e
s
h
a
d
e
d
a
r
e
a
s
a
r
e
e
x
t
e
r
n
a
l
a
r
e
a
s
.
I
n
t
e
r
n
a
l
R
A
M
S
F
R
a
r
e
a
SFR area
0470
16
0
0
0
0
1
6
F
F
F
F
1
6
0
0
0
0
0
1
8
1
0
1
6
6
0
0
7
0
1
6
8000
16
0
1000
16
A
7
0
1
6
0000
16
FFFF
16
M
e
0
0
0
0
0
1
8
1
0
1
6
6
0
0
7
0
1
6
Reserved area
M
3
7
6
4
1
F
8
Internal RAM
I
n
t
e
r
n
a
l
R
O
M
S
F
R
a
r
e
a
m
o
r
y
e
x
p
a
n
s
i
o
n
m
o
d
e
T
h
e
s
h
a
d
e
d
a
r
e
a
s
a
r
e
e
x
t
e
r
n
a
l
a
r
e
a
s
.
SFR area