Rev. 2.50 264 June 22, 2017 Rev. 2.50 265 June 22, 2017
HT66F20/HT66F30/HT66F40/HT66F50/HT66F60
HT66FU30/HT66FU40/HT66FU50/HT66FU60
A/D Flash MCU with EEPROM
HT66F20/HT66F30/HT66F40/HT66F50/HT66F60
HT66FU30/HT66FU40/HT66FU50/HT66FU60
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