3 CPu anD MeMORY
3-2
Seiko epson Corporation
S1C63003/004/008/016 TeChniCal Manual
(Rev. 1.1)
Data Memory area
3.3
The S1C63004/008/016 data memory consists of a RAM, data ROM, display memory and peripheral I/O memory.
The S1C63003 data memory consists of a RAM, display memory and peripheral I/O memory. Figure 3.3.1 shows
the overall memory map.
0000H
07FFH
8000H
8FFFH
F000H
F07FH
FF00H
FFFFH
RAM
Data ROM
Display memory area
I/O memory area
Unused area
S1C63016
4 bits
4 bits
4 bits
4 bits
Unused area
Unused area
0000H
03FFH
8000H
87FFH
F000H
F07FH
FF00H
FFFFH
RAM
Data ROM
Display memory area
I/O memory area
Unused area
S1C63008
Unused area
Unused area
0000H
01FFH
8000H
83FFH
F000H
F07FH
FF00H
FFFFH
RAM
Data ROM
Display memory area
I/O memory area
Unused area
S1C63004
Unused area
Unused area
0000H
007FH
0100H
017FH
F000H
F03FH
FF00H
FFFFH
RAM
RAM
Display memory area
I/O memory area
Unused area
S1C63003
Unused area
Unused area
3.1 Data memory map
Figure 3.
Note: Memory is not implemented in unused areas within the memory map. Further, some non-imple-
mentation areas and unused (access prohibition) areas exist in the peripheral I/O area. If the pro-
gram that accesses these areas is generated, its operation cannot be guaranteed. Refer to the I/O
memory maps in the Appendix for the peripheral I/O area.
RaM
3.3.1
The RAM is a data memory for storing various kinds of data.
3.1.1 RAM capacity
Table 3.
Model
Capacity
Address
S1C63016
2,048 words
×
4 bits
0000H to 07FFH
S1C63008
1,024 words
×
4 bits
0000H to 03FFH
S1C63004
512 words
×
4 bits
0000H to 01FFH
S1C63003
256 words
×
4 bits
0000H to 007FH, 0100H to 017FH
Addresses 0100H to 01FFH (0100H to 017FH in the S1C63003) are 4-bit/16-bit data accessible areas and in other
areas it is only possible to access 4-bit data. When programming, keep the following points in mind.
(1) Part of the RAM area is used as a stack area for subroutine call and register evacuation, so pay attention not to
overlap the data area and stack area.
(2) The S1C63000 core CPU handles the stack using the stack pointer for 4-bit data (SP2) and the stack pointer for
16-bit data (SP1). 16-bit data are accessed in stack handling by SP1, therefore, this stack area should be allocated
to the area where 4-bit/16-bit access is possible (0100H to 01FFH, 0100H to 017FH in the S1C63003). Memory
accesses except for stack operations by SP1 are 4-bit data access.
The stack address management requires caution as the stack pointers may be set to an address out of the RAM
address range.