EasyManua.ls Logo

Holtek HT66F30 - Page 269

Default Icon
294 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. 2.50 268 June 22, 2017 Rev. 2.50 269 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
SDZA [m]
SkipifdecrementDataMemoryiszerowithresultinACC
Description ThecontentsofthespeciedDataMemoryarerstdecrementedby1.Iftheresultis0,the
followinginstructionisskipped.TheresultisstoredintheAccumulatorbutthespecied
DataMemorycontentsremainunchanged.Asthisrequirestheinsertionofadummy
instructionwhilethenextinstructionisfetched,itisatwocycleinstruction.Iftheresultisnot0,
theprogramproceedswiththefollowinginstruction.
Operation ACC←[m]−1
SkipifACC=0
Affectedag(s) None
SET [m]
SetDataMemory
Description EachbitofthespeciedDataMemoryissetto1.
Operation [m]←FFH
Affectedag(s) None
SET [m].i
SetbitofDataMemory
Description BitiofthespeciedDataMemoryissetto1.
Operation [m].i←1
Affectedag(s) None
SIZ [m]
SkipifincrementDataMemoryis0
Description ThecontentsofthespeciedDataMemoryarerstincrementedby1.Iftheresultis0,the
followinginstructionisskipped.Asthisrequirestheinsertionofadummyinstructionwhile
thenextinstructionisfetched,itisatwocycleinstruction.Iftheresultisnot0theprogram
proceedswiththefollowinginstruction.
Operation [m]←[m]+1
Skipif[m]=0
Affectedag(s) None
SIZA [m]
SkipifincrementDataMemoryiszerowithresultinACC
Description ThecontentsofthespeciedDataMemoryarerstincrementedby1.Iftheresultis0,the
followinginstructionisskipped.TheresultisstoredintheAccumulatorbutthespecied
DataMemorycontentsremainunchanged.Asthisrequirestheinsertionofadummy
instructionwhilethenextinstructionisfetched,itisatwocycleinstruction.Iftheresultisnot
0theprogramproceedswiththefollowinginstruction.
Operation ACC←[m]+1
SkipifACC=0
Affectedag(s) None
SNZ [m].i
SkipifbitiofDataMemoryisnot0
Description IfbitiofthespeciedDataMemoryisnot0,thefollowinginstructionisskipped.Asthis
requirestheinsertionofadummyinstructionwhilethenextinstructionisfetched,itisatwo
cycleinstruction.Iftheresultis0theprogramproceedswiththefollowinginstruction.
Operation Skipif[m].i≠0
Affectedag(s) None
SUB A,[m]
SubtractDataMemoryfromACC
Description ThespeciedDataMemoryissubtractedfromthecontentsoftheAccumulator.Theresultis
storedintheAccumulator.Notethatiftheresultofsubtractionisnegative,theCagwillbe
clearedto0,otherwiseiftheresultispositiveorzero,theCagwillbesetto1.
Operation ACC←ACC−[m]
Affectedag(s) OV,Z,AC,C

Table of Contents

Other manuals for Holtek HT66F30

Related product manuals