SN8P1700
8-bit micro-controller build-in 12-bit ADC
SONiX TECHNOLOGY CO., LTD
Page 59
Revision 1.93
PFLAG – Working Register
Register Name
PFLAGE
Address 086H
Bit
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit’s
Name
- - - - - C
DC
Z
Read/Write
- - - - -
R/W
R/W
R/W
Initial
Value
- - - - - 0 0 0
Bit3~Bit7
Undefined
C
Carry Flag
0
Executed arithmetic addition without occurring carry signal.
Executed arithmetic subtraction with borrowing signal.
Executed rotation instruction with shifting out logic “0”.
1
Executed arithmetic addition with occurring carry signal.
Executed arithmetic subtraction without borrowing signal.
Executed rotation instruction with shifting out logic “1”.
D
Decimal Carry Flag
0
Executed arithmetic addition without occurring signal from low nibble.
Executed arithmetic subtraction with borrow signal from high nibble.
1
Executed arithmetic addition with occurring signal from low nibble.
Executed arithmetic subtraction without borrow signal from high nibble.
Z
Zero Flag
0
After operation, the content of ACC is not zero.
1
After operation, the content of ACC is zero.