SN8P2604
8-Bit Micro-Controller
SONiX TECHNOLOGY CO., LTD
Page 26
Version 1.1
2.1.4.2
BIT DEFINITION of SYSTEM REGISTER
Address
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0
R/W Remarks
080H LBIT7 LBIT6 LBIT5 LBIT4 LBIT3 LBIT2 LBIT1 LBIT0
R/W
L
081H HBIT7 HBIT6 HBIT5 HBIT4 HBIT3 HBIT2 HBIT1 HBIT0
R/W
H
082H RBIT7 RBIT6 RBIT5 RBIT4 RBIT3 RBIT2 RBIT1 RBIT0
R/W
R
083H ZBIT7 ZBIT6 ZBIT5 ZBIT4 ZBIT3 ZBIT2 ZBIT1 ZBIT0
R/W
Z
084H YBIT7 YBIT6 YBIT5 YBIT4 YBIT3 YBIT2 YBIT1 YBIT0
R/W
Y
086H NT0 NPD
C
DC
Z R/W
PFLAG
0B8H
P01M P00M
R/W
P0M
0BFH
P00G1
P00G0
R/W PEDGE
0C0H P17W P16W P15W P14W P13W P12W P11W P10W W
P1W
0C1H P17M P16M P15M P14M P13M P12M P11M P10M
R/W
P1M
0C2H P27M P26M P25M P24M P23M P22M P21M P20M
R/W
P2M
0C5H
P54M P53M P52M P51M P50M
R/W
P5M
0C8H TC1IRQ T0IRQ
P01IRQ
P00IRQ
R/W INTRQ
0C9H TC1IEN T0IEN
P01IEN
P00IEN
R/W INTEN
0CAH
CPUM1
CPUM0
CLKMD
STPHX
R/W OSCM
0CCH WDTR7 WDTR6 WDTR5 WDTR4
WDTR3
WDTR2
WDTR1
WDTR0 W
WDTR
0CEH
PC7 PC6 PC5 PC4 PC3 PC2 PC1 PC0
R/W
PCL
0CFH
PC11
PC10
PC9
PC8
R/W PCH
0D0H
P02
P01
P00
R/W P0
0D1H
P17 P16 P15 P14 P13 P12 P11 P10
R/W
P1
0D2H
P27 P26 P25 P24 P23 P22 P21 P20
R/W
P2
0D5H
P54 P53 P52 P51 P50
R/W
P5
0D8H T0ENB T0rate2 T0rate1 T0rate0
R/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PC11
S3PC10
S3PC9
S3PC8
R/W STK3H
0FAH S2PC7 S2PC6 S2PC5 S2PC4 S2PC3 S2PC2 S2PC1 S2PC0 R/W
STK2L
0FBH
-
S2PC11
S2PC10
S2PC9
S2PC8
R/W STK2H
0FCH S1PC7 S1PC6 S1PC5 S1PC4 S1PC3 S1PC2 S1PC1 S1PC0 R/W
STK1L
0FDH
-
S1PC11
S1PC10
S1PC9
S1PC8
R/W STK1H
0FEH S0PC7 S0PC6 S0PC5 S0PC4 S0PC3 S0PC2 S0PC1 S0PC0 R/W
STK0L
0FFH
-
S0PC11
S0PC10
S0PC9
S0PC8
R/W STK0H
Note:
1.
To avoid system error, please be sure to put all the “0” and “1” as it indicates in the above
table
.
2. All of register names had been declared in SN8ASM assembler.
3. One-bit name had been declared in SN8ASM assembler with “F” prefix code.
4. “b0bset”, “b0bclr”, ”bset”, ”bclr” instructions are only available to the “R/W” registers.
5. For detail description, please refer to the “System Register Quick Reference Table”
.