SN8P1700
8-bit micro-controller build-in 12-bit ADC
SONiX TECHNOLOGY CO., LTD
Page 36
Revision 1.93
X REGISTERS
There are two major functions of the X register. First, X register can be used as working registers. Second, the X
registers must be clear in order to look-up the ROM data. The SN8P1700’s program counter only has 12-bit. In
look-up table function, the users can omit X register.
X initial value = 0000 0000
085H
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
X
XBIT7 XBIT6 XBIT5 XBIT4 XBIT3 XBIT2 XBIT1 XBIT0
R/W R/W R/W R/W R/W R/W R/W R/W
Note: Please consult the “LOOK-UP TABLE DESCRIPTION” about X register look-up table application.
R REGISTERS
There are two major functions of the R register. First, R register can be used as working registers. Second, the R
registers can be store high-byte data of look-up ROM data. After MOVC instruction executed, the high-byte data of a
ROM address will be stored in R register and the low-byte data stored in ACC.
R initial value = 0000 0000
082H
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
R
RBIT7 RBIT6 RBIT5 RBIT4 RBIT3 RBIT2 RBIT1 RBIT0
R/W R/W R/W R/W R/W R/W R/W R/W
Note: Please consult the “LOOK-UP TABLE DESCRIPTION” about R register look-up table application.