S1C6N3B0 TECHNICAL MANUAL
EPSON
9
CHAPTER 3: CPU, ROM, RAM
CHAPTER
3 CPU, ROM, RAM
3.1 CPU
The S1C6N3B0 Series employs the S1C6200B core CPU, so that register configuration, instructions, and so
forth are virtually identical to those in other processors in the family using the S1C6200/6200A/6200B.
Refer to the "S1C6200/6200A Core CPU Manual" for details of the S1C6200B.
Note the following points with regard to the S1C6N3B0 Series:
(1) The crystal oscillator model of the S1C6N3B0 does not support the SLEEP function, therefore the SLP
instruction cannot be used.
The SLP instruction is only available for the S1C6N3B0 CR oscillation model and S1C6A3B0 which
have the SLEEP function selected by mask option.
(2) Because the ROM capacity is 1,536 words, 12 bits per word, bank bits are unnecessary, and PCB and
NBP are not used.
(3) The RAM page is set to 0 only, so the page part (XP, YP) of the index register that specifies addresses is
invalid.
PUSH XP
POP XP
LD XP,r
LD r,XP
PUSH YP
POP YP
LD YP,r
LD r,YP
3.2 ROM
The built-in ROM, a mask ROM for the program, has a capacity of 1,536
× 12-bit steps. The program area
is 6 pages (0–5), each consisting of 256 steps (00H–FFH). After an initial reset, the program start address is
set to page 1, step 00H. The interrupt vectors are allocated to page l, steps 01H–08H.
Step 00H
Step 08H
Step 09H
Step FFH
12 bits
Program start address
Interrupt vector area
Bank 0
Program area
Page 0
Page 1
Page 2
Page 3
Page 4
Page 5
Step 01H
Fig. 3.2.1 ROM configuration
3.3 RAM
The RAM, a data memory for storing a variety of data, has a capacity of 96 words, 4-bit words. When
programming, keep the following points in mind:
(1) Part of the data memory is used as stack area when saving subroutine return addresses and registers,
so be careful not to overlap the data area and stack area.
(2) Subroutine calls and interrupts take up three words on the stack.
(3) Data memory 00H–0FH is the memory area pointed by the register pointer (RP).