SN8P2318 Series
C-type LCD, RFC 8-Bit Micro-Controller
SONiX TECHNOLOGY CO., LTD
Page 22
Version 1.5
2.2 DATA MEMORY (RAM)
128 X 8-bit RAM
Address
RAM Location
BANK 0
000h
General Purpose Area
RAM Bank 0
“
“
“
07Fh
080h
System Register
080h~0FFh of Bank 0 store system
registers (128 bytes).
“
“
“
0FFh
End of Bank 0
The 128-byte general purpose RAM is in Bank 0. Sonix provides
“Bank 0” type instructions (e.g. b0mov, b0add, b0bts1,
b0bset
…) to control Bank 0 RAM in non-zero RAM bank condition directly.
2.2.1 SYSTEM REGISTER
2.2.1.1
SYSTEM REGISTER TABLE
0
1
2
3
4
5
6
7
8
9
A
B
C
D
E
F
8
L
H
R
Z
Y
-
PFLAG RBANK
-
-
-
-
-
-
-
-
9
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
A
T1M
T1CL
T1CH
T1VCL T1VCH T1CKSM RFCM
-
-
-
-
-
-
-
-
-
B
-
-
-
-
-
-
-
-
P0M
-
-
-
-
-
-
PEDGE
C
P1W
P1M
P2M
P3M
-
P5M
-
-
INTRQ INTEN OSCM LCDM WDTR
TC0R
PCL
PCH
D
P0
P1
P2
P3
-
P5
-
-
T0M
T0C
TC0M
TC0C
-
-
-
STKP
E
P0UR
P1UR
P2UR
P3UR
-
P5UR
@HL
@YZ
TC0D
-
-
-
-
-
-
-
F
STK7L STK7H
STK6L STK6H STK5L STK5H STK4L STK4H STK3L STK3H STK2L STK2H STK1L STK1H STK0L STK0H
2.2.1.2
SYSTEM REGISTER DESCRIPTION
H, L = Working, @HL addressing register.
Y, Z = Working, @YZ and ROM addressing register.
R = Working register and ROM look-up data buffer.
PFLAG = Special flag register.
RBANK = RAM bank control register.
T1M = T1 mode register.
T1CH,L = T1 counting register.
T1VCH,L = T1 event counter counting register.
T1CKSM = T1 capture timer control register.
RFCM = RFC mode register.
INTRQ = Interrupt request register.
INTEN = Interrupt enable register.
OSCM = Oscillator mode register.
LCDM = LCD mode register.
WDTR = Watchdog timer clear register.
PEDGE = P0.0 edge direction register.
P1W = P1 wake-up control register.
PCH, PCL = Program counter.
PnM = Port n input/output mode register.
Pn = Port n data buffer.
PnUR = Port n pull-up resister control register.
T0M = T0 mode register.
T0C = T0 counting register.
TC0M = TC0 mode register.
TC0C = TC0 counting register.
TC0R = TC0 auto-reload data buffer.
TC0D = TC0 duty control register.
@HL = RAM HL indirect addressing index pointer.
@YZ = RAM YZ indirect addressing index pointer.
STKP = Stack pointer buffer.
STK0~STK7 = Stack 0 ~ stack 7 buffer.