Rev. 1.50 36 August 28, 2017 Rev. 1.50 37 August 28, 2017
HT66F0175/HT66F0185
A/D Flash MCU with EEPROM
HT66F0175/HT66F0185
A/D Flash MCU with EEPROM
STATUS Register
Bit 7 6 5 4 3 2 1 0
Name — — TO PDF OV Z AC C
R/W — — R R R/W R/W R/W R/W
POR — — 0 0 x x x x
“x”: unknown
Bit7~6 Unimplemented,readas“0”
Bit5 TO:WatchdogTime-outag
0:Afterpoweruporexecutingthe“CLRWDT”or“HALT”instruction
1:Awatchdogtime-outoccurred
Bit4 PDF:Powerdownag
0:Afterpoweruporexecutingthe“CLRWDT”instruction
1:Byexecutingthe“HALT”instructin
Bit3 OV:Overowag
0:Nooverow
1:Anoperationresultsinacarryintothehighest-orderbitbutnotacarryoutofthe
highest-orderbitorviceversa
Bit2 Z:Zeroag
0:Theresultofanarithmeticorlogicaloperationisnotzero
1:Theresultofanarithmeticorlogicaloperationiszero
Bit1 AC:Auxiliaryag
0:Noauxiliarycarry
1:Anoperationresultsinacarryoutofthelownibbles,inaddition,ornoborrow
fromthehighnibbleintothelownibbleinsubstraction
Bit0 C:Carryag
0:Nocarry-out
1:Anoperationresultsinacarryduringanadditionoperationorifaborrowdoes
nottakeplaceduringasubtractionoperation
The“C”agisalsoaffectedbyarotatethroughcarryinstruction.