Rev. 2.10
2�6
���� 02� 201�
Rev. 2.10
2�7
���� 02� 201�
HT68F20/HT68F30/HT68F40/HT68F50/HT68F60
HT68FU30/HT68FU40/HT68FU50/HT68FU60
Enhanced I/O Flash Type 8-Bit MCU with EEPROM
HT68F20/HT68F30/HT68F40/HT68F50/HT68F60
HT68FU30/HT68FU40/HT68FU50/HT68FU60
Enhanced I/O Flash Type 8-Bit MCU with EEPROM
Instruction Set Summary
The following table depicts a summary of the instruction set categorised according to function and
can be consulted as a basic instruction reference using the following listed conventions.
Table Conventions
x: Bits immediate data
m: Data Memory address
A: Accumulator
i: 0~7 number of bits
addr: Program memory address
Mnemonic
Description
Cycles
Flag Affected
Arithmetic
ADD A�[m]
Add Data Memor� to ACC
1
Z� C� AC� OV
ADDM A�[m]
Add ACC to Data Memor�
1
Note
Z� C� AC� OV
ADD A�x
Add immediate data to ACC
1
Z� C� AC� OV
ADC A�[m]
Add Data Memor� to ACC with Carr�
1
Z� C� AC� OV
ADCM A�[m]
Add ACC to Data memor� with Carr�
1
Note
Z� C� AC� OV
SUB A�x
S�btract immediate data from the ACC
1
Z� C� AC� OV
SUB A�[m]
S�btract Data Memor� from ACC
1
Z� C� AC� OV
SUBM A�[m]
S�btract Data Memor� from ACC with res��t in Data Memor�
1
Note
Z� C� AC� OV
SBC A�[m]
S�btract Data Memor� from ACC with Carr�
1
Z� C� AC� OV
SBCM A�[m]
S�btract Data Memor� from ACC with Carr�� res��t in Data Memor�
1
Note
Z� C� AC� OV
DAA [m]
Decima� adj�st ACC for Addition with res��t in Data Memor�
1
Note
C
Logic Operation
AND A�[m]
Logica� AND Data Memor� to ACC
1
Z
OR A�[m]
Logica� OR Data Memor� to ACC
1
Z
XOR A�[m]
Logica� XOR Data Memor� to ACC
1
Z
ANDM A�[m]
Logica� AND ACC to Data Memor�
1
Note
Z
ORM A�[m]
Logica� OR ACC to Data Memor�
1
Note
Z
XORM A�[m]
Logica� XOR ACC to Data Memor�
1
Note
Z
AND A�x
Logica� AND immediate Data to ACC
1
Z
OR A�x
Logica� OR immediate Data to ACC
1
Z
XOR A�x
Logica� XOR immediate Data to ACC
1
Z
CPL [m]
Comp�ement Data Memor�
1
Note
Z
CPLA [m]
Comp�ement Data Memor� with res��t in ACC
1
Z
Increment & Decrement
INCA [m]
Increment Data Memor� with res��t in ACC
1
Z
INC [m]
Increment Data Memor�
1
Note
Z
DECA [m]
Decrement Data Memor� with res��t in ACC
1
Z
DEC [m]
Decrement Data Memor�
1
Note
Z
Rotate
RRA [m]
Rotate Data Memor� right with res��t in ACC
1
None
RR [m]
Rotate Data Memor� right
1
Note
None
RRCA [m]
Rotate Data Memor� right thro�gh Carr� with res��t in ACC
1
C
RRC [m]
Rotate Data Memor� right thro�gh Carr�
1
Note
C
RLA [m]
Rotate Data Memor� �eft with res��t in ACC
1
None
RL [m]
Rotate Data Memor� �eft
1
Note
None
RLCA [m]
Rotate Data Memor� �eft thro�gh Carr� with res��t in ACC
1
C
RLC [m]
Rotate Data Memor� �eft thro�gh Carr�
1
Note
C