Rev. 1.71 126 April 11, 2017 Rev. 1.71 127 April 11, 2017
HT66F002/HT66F0025/HT66F003/HT66F004
Cost-Effective A/D Flash MCU with EEPROM
HT66F002/HT66F0025/HT66F003/HT66F004
Cost-Effective A/D Flash MCU with EEPROM
CALL addr
Subroutinecall
Description Unconditionallycallsasubroutineatthespeciedaddress.TheProgramCounterthen
incrementsby1toobtaintheaddressofthenextinstructionwhichisthenpushedontothe
stack.Thespeciedaddressisthenloadedandtheprogramcontinuesexecutionfromthis
newaddress.Asthisinstructionrequiresanadditionaloperation,itisatwocycleinstruction.
Operation Stack←ProgramCounter+1
ProgramCounter←addr
Affectedag(s) None
CLR [m]
ClearDataMemory
Description EachbitofthespeciedDataMemoryisclearedto0.
Operation [m]←00H
Affectedag(s) None
CLR [m].i
ClearbitofDataMemory
Description BitiofthespeciedDataMemoryisclearedto0.
Operation [m].i←0
Affectedag(s) None
CLR WDT
ClearWatchdogTimer
Description TheTO,PDFagsandtheWDTareallcleared.
Operation WDTcleared
TO←0
PDF←0
Affectedag(s) TO,PDF
CLR WDT1
Pre-clearWatchdogTimer
Description TheTO,PDFagsandtheWDTareallcleared.Notethatthisinstructionworksin
conjunctionwithCLRWDT2andmustbeexecutedalternatelywithCLRWDT2tohave
effect.RepetitivelyexecutingthisinstructionwithoutalternatelyexecutingCLRWDT2will
havenoeffect.
Operation WDTcleared
TO←0
PDF←0
Affectedag(s) TO,PDF
CLR WDT2
Pre-clearWatchdogTimer
Description TheTO,PDFagsandtheWDTareallcleared.Notethatthisinstructionworksinconjunction
withCLRWDT1andmustbeexecutedalternatelywithCLRWDT1tohaveeffect.
RepetitivelyexecutingthisinstructionwithoutalternatelyexecutingCLRWDT1willhaveno
e
ffect.
Operation WDTcleared
TO←0
PDF←0
Affectedag(s) TO,PDF
CPL [m]
ComplementDataMemory
Description EachbitofthespeciedDataMemoryislogicallycomplemented(1′scomplement).Bitswhich
previouslycontaineda1arechangedto0andviceversa.
Operation [m]←[m]
Affectedag(s) Z