EasyManua.ls Logo

Holtek HT66F30 - Page 267

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 266 June 22, 2017 Rev. 2.50 267 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
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1bit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1bit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1bit.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1bit.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

Other manuals for Holtek HT66F30

Related product manuals