11
38B4 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
MITSUBISHI MICROCOMPUTERS
MEMORY
Special Function Register (SFR) Area
The special function register (SFR) area in the zero page contains
control registers such as I/O ports and timers.
RAM
RAM is used for data storage and for stack area of subroutine calls
and interrupts.
ROM
The first 128 bytes and the last 2 bytes of ROM are reserved for
device testing, and the other areas are user areas for storing pro-
grams.
Interrupt Vector Area
The interrupt vector area contains reset and interrupt vectors.
Zero Page
The 256 bytes from addresses 0000
16
to 00FF
16
are called the zero
page area. The internal RAM and the special function registers (SFR)
are allocated to this area.
The zero page addressing mode can be used to specify memory and
register addresses in the zero page area. Access to this area with
only 2 bytes is possible in the zero page addressing mode.
Special Page
The 256 bytes from addresses FF00
16
to FFFF
16
are called the spe-
cial page area. The special page addressing mode can be used to
specify memory addresses in the special page area. Access to this
area with only 2 bytes is possible in the special page addressing
mode.
Fig. 8 Memory map diagram
0
1
0
0
1
6
0
0
0
1
6
0
4
0
1
6
0
4
4
0
1
6
F
0
0
1
6
F
D
C
1
6
F
F
F
F
E
1
F
1
6
6
1
2
3
5
6
7
8
0
5
0
9
5
8
1
4
6
9
2
3
4
2
6
4
2
0
8
6
4
6
8
1
1
2
X
X
X
1
6
0
0
0
0
0
0
0
0
0
0
1
1
2
2
3
3
4
6
8
F
3
B
3
B
3
B
3
3
3
F
1
F
1
F
1
F
1
F
1
F
1
F
1
F
1
F
1
F
1
6
6
6
6
6
6
6
6
6
6
4
8
2
6
0
4
8
2
6
0
5
9
3
7
1
0
1
2
3
4
5
6
7
8
9
0
1
2
3
4
9
9
8
8
8
7
7
6
6
6
5
5
4
4
4
6
2
8
4
0
6
2
8
4
0
6
2
8
4
0
1
1
2
2
2
3
3
4
4
4
5
5
6
F
E
D
C
B
A
9
8
7
6
5
4
3
2
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
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
6
0
0
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