EasyManua.ls Logo

Holtek HT66F002 - Page 130

Default Icon
144 pages
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.71 130 April 11, 2017 Rev. 1.71 131 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
RET A,x
ReturnfromsubroutineandloadimmediatedatatoACC
Description TheProgramCounterisrestoredfromthestackandtheAccumulatorloadedwiththespecied
immediatedata.Programexecutioncontinuesattherestoredaddress.
Operation ProgramCounter←Stack
ACC←x
Affectedag(s) None
RETI
Returnfrominterrupt
Description TheProgramCounterisrestoredfromthestackandtheinterruptsarere-enabledbysettingthe
EMIbit.EMIisthemasterinterruptglobalenablebit.Ifaninterruptwaspendingwhenthe
RETIinstructionisexecuted,thependingInterruptroutinewillbeprocessedbeforereturning
tothemainprogram.
Operation ProgramCounter←Stack
EMI←1
Affectedag(s) None
RL [m]
RotateDataMemoryleft
Description ThecontentsofthespeciedDataMemoryarerotatedleftby1bitwithbit7rotatedintobit0.
Operation [m].(i+1)←[m].i;(i=0~6)
[m].0←[m].7
Affectedag(s) None
RLA [m]
RotateDataMemoryleftwithresultinACC
Description ThecontentsofthespeciedDataMemoryarerotatedleftby1bitwithbit7rotatedintobit0.
TherotatedresultisstoredintheAccumulatorandthecontentsoftheDataMemoryremain
u
nchanged.
Operation ACC.(i+1)←[m].i;(i=0~6)
ACC.0←[m].7
Affectedag(s) None
RLC [m]
RotateDataMemoryleftthroughCarry
Description ThecontentsofthespeciedDataMemoryandthecarryagarerotatedleftby1bit.Bit7
replacestheCarrybitandtheoriginalcarryagisrotatedintobit0.
Operation [m].(i+1)←[m].i;(i=0~6)
[m].0←C
C←[m].7
Affectedag(s) C
RLCA [m]
RotateDataMemoryleftthroughCarrywithresultinACC
Description DatainthespeciedDataMemoryandthecarryagarerotatedleftby1bit.Bit7replacesthe
Carrybitandtheoriginalcarryagisrotatedintothebit0.Therotatedresultisstoredinthe
AccumulatorandthecontentsoftheDataMemoryremainunchanged.
Operation ACC.(i+1)←[m].i;(i=0~6)
ACC.0←C
C←[m].7
Affectedag(s) C
RR [m]
RotateDataMemoryright
Description ThecontentsofthespeciedDataMemoryarerotatedrightby1bitwithbit0rotatedintobit7.
Operation [m].i←[m].(i+1);(i=0~6)
[m].7←[m].0
Affectedag(s) None

Table of Contents

Related product manuals