EasyManua.ls Logo

Holtek BS82B12A-3 - Page 155

Holtek BS82B12A-3
168 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Rev. 1.20 154 January 23, 2015 Rev. 1.20 155 January 23, 2015
BS82B12A-3/BS82C16A-3/BS82D20A-3
Touch Key 8-Bit Flash MCU with LED/LCD Driver
BS82B12A-3/BS82C16A-3/BS82D20A-3
Touch Key 8-Bit Flash MCU with LED/LCD Driver
CALL addr
Subroutinecall
Description Unconditionallycallsasubroutineatthespeciedaddress.TheProgramCounterthen
incrementsby1toobtaintheaddressofthenextinstructionwhichisthenpushedontothe
stack.Thespeciedaddressisthenloadedandtheprogramcontinuesexecutionfromthis
newaddress.Asthisinstructionrequiresanadditionaloperation,itisatwocycleinstruction.
Operation Stack←ProgramCounter+1
ProgramCounter←addr
Affectedag(s) None
CLR [m]
ClearDataMemory
Description EachbitofthespeciedDataMemoryisclearedto0.
Operation [m]←00H
Affectedag(s) None
CLR [m].i
ClearbitofDataMemory
Description BitiofthespeciedDataMemoryisclearedto0.
Operation [m].i←0
Affectedag(s) None
CLR WDT
ClearWatchdogTimer
Description TheTO,PDFagsandtheWDTareallcleared.
Operation WDTcleared
TO←0
PDF←0
Affectedag(s) TO,PDF
CLR WDT1
Pre-clearWatchdogTimer
Description TheTO,PDFagsandtheWDTareallcleared.Notethatthisinstructionworksin
conjunctionwithCLRWDT2andmustbeexecutedalternatelywithCLRWDT2tohave
effect.RepetitivelyexecutingthisinstructionwithoutalternatelyexecutingCLRWDT2will
havenoeffect.
Operation WDTcleared
TO←0
PDF←0
Affectedag(s) TO,PDF
CLR WDT2
Pre-clearWatchdogTimer
Description TheTO,PDFagsandtheWDTareallcleared.Notethatthisinstructionworksinconjunction
withCLRWDT1andmustbeexecutedalternatelywithCLRWDT1tohaveeffect.
 RepetitivelyexecutingthisinstructionwithoutalternatelyexecutingCLRWDT1willhaveno
e
ffect.
Operation WDTcleared
TO←0
PDF←0
Affectedag(s) TO,PDF
CPL [m]
ComplementDataMemory
Description EachbitofthespeciedDataMemoryislogicallycomplemented(1′scomplement).Bitswhich
previouslycontaineda1arechangedto0andviceversa.
Operation [m]←[m]
Affectedag(s) Z

Table of Contents

Related product manuals