SN8P1602B
8-Bit Micro-Controller
5SYSTEM REGISTER
OVERVIEW
The RAM area located in 80H~FFH bank 0 is system register area. The main purpose of system registers is to control
peripheral hardware of the chip. Using system registers can control I/O ports, timers and counters by programming.
The memory map provides an easy and quick reference source for writing application program. These system registers
accessing is controlled by the selected memory bank (RBANK = 0) or the bank 0 read/write instruction (B0MOV,
B0BSET, B0BCLR…).
SYSTEM REGISTER ARRANGEMENT (BANK 0)
BYTES of SYSTEM REGISTER
ꢀ
SN8P1602B
0
1
2
R
3
Z
-
4
Y
-
5
-
6
7
8
-
9
-
A
-
B
-
C
-
D
-
E
-
F
-
-
-
PFLAG RPAGE
8
9
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
A
B
C
D
E
F
PUR PEDGE
-
P1W
P0
-
-
P1M
P1
-
-
P2M
P2
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
INTRQ INTEN OSCM
-
-
-
PCL
PCH
STKP
-
-
-
-
-
@YZ
-
T0M
-
-
-
TC0M TC0C
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
STK3L STK3H STK2L STK2H STK1L STK1H STK0L STK0H
Description
PFLAG = ROM page and special flag register.
P1W = Port 1 wakeup register.
R = Working register and ROM look-up data buffer.
Y, Z = Working, @YZ and ROM addressing register.
Pn = Port n data buffer.
PnM = Port n input/output mode register.
INTRQ = Interrupt request register.
OSCM = Oscillator mode register.
TCnM = Timer n mode register.
INTEN = Interrupt enable register.
PCH, PCL = Program counter.
TCnC = Timer n counting register.
T0M.1= TC0GN, TC0 green mode wakeup flag.
STKP = Stack pointer buffer.
STK0~STK3 = Stack 0 ~ stack 3 buffer.
@YZ = RAM YZ indirect addressing index pointer.
SONiX TECHNOLOGY CO., LTD
Page 33
Version 1.2