SN8P1700
8-bit micro-controller build-in 12-bit ADC
5SYSTEM REGISTER
OVERVIEW
The system special register is located at 80h~FFh. The main purpose of system registers is to control the peripheral
hardware of the chip. Using system registers can control I/O ports, SIO, ADC, PWM, timers and counters by
programming. The Memory map provides an easy and quick reference source for writing application program. To
accessing these system registers is controlled by the select memory bank (RBANK = 0) or the bank 0 read/write
instruction (B0MOV, B0BSET, B0BCLR…).
SYSTEM REGISTER ARRANGEMENT (BANK 0)
BYTES of SYSTEM REGISTER
SN8P1702
0
-
1
-
-
2
R
3
Z
4
Y
5
-
6
7
-
8
-
9
-
A
-
B
-
C
-
D
-
E
-
F
-
PFLAG
8
9
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
A
B
C
D
E
F
ADM
P1M
P1
-
ADB
ADR
-
-
-
-
-
-
-
-
-
P1W
P0
-
-
-
P4M
P4
-
P5M
P5
-
-
-
INTRQ INTEN OSCM
-
-
TC0R
PCL
PCH
STKP
-
-
-
-
-
-
-
-
-
-
-
-
TC0M TC0C
-
-
-
-
-
-
@YZ
STK4
-
-
STK7
STK7
STK6
STK6
STK5
STK5
STK4
STK3
STK3
STK2
STK2
STK1
STK1
STK0
STK0
Table 5-1. System Register Arrangement of SN8P1702
SN8P1704
0
-
1
-
2
R
3
Z
4
Y
5
-
6
7
-
8
-
9
-
A
-
B
-
C
-
D
-
E
-
F
-
PFLAG
8
9
A
B
C
D
E
F
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
DAM
ADM
P1M
P1
-
ADB
ADR
SIOM
P4M
P4
SIOR
P5M
P5
SIOB
-
-
-
-
-
-
P1W
-
-
-
-
INTRQ INTEN OSCM
-
-
TC0R
PCL
PCH
P0
-
-
-
-
-
-
-
-
-
-
-
TC0M TC0C TC1M TC1C TC1R STKP
-
-
-
@YZ
STK4
-
-
-
-
-
-
STK7
STK7
STK6
STK6
STK5
STK5
STK4
STK3
STK3
STK2
STK2
STK1
STK1
STK0
STK0
Table 5-2. System Register Arrangement of SN8P1704
SONiX TECHNOLOGY CO., LTD
Page 49
Revision 1.94