Rev. 1.50
1��
����st ��� �01�
Rev. 1.50
1�9
����st ��� �01�
HT66F0175/HT66F0185
A/D Flash MCU with EEPROM
HT66F0175/HT66F0185
A/D Flash 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
�DD ��[m]
�dd Data Memory to �CC
1
Z� C� �C� OV
�DDM ��[m]
�dd �CC to Data Memory
1
Note
Z� C� �C� OV
�DD ��x
�dd immediate data to �CC
1
Z� C� �C� OV
�DC ��[m]
�dd Data Memory to �CC with Carry
1
Z� C� �C� OV
�DCM ��[m]
�dd �CC to Data memory with Carry
1
Note
Z� C� �C� OV
SUB ��x
S�btract immediate data from the �CC
1
Z� C� �C� OV
SUB ��[m]
S�btract Data Memory from �CC
1
Z� C� �C� OV
SUBM ��[m]
S�btract Data Memory from �CC with res�lt in Data Memory
1
Note
Z� C� �C� OV
SBC ��[m]
S�btract Data Memory from �CC with Carry
1
Z� C� �C� OV
SBCM ��[m]
S�btract Data Memory from �CC with Carry� res�lt in Data Memory
1
Note
Z� C� �C� OV
D�� [m]
Decimal adj�st �CC for �ddition with res�lt in Data Memory
1
Note
C
Logic Operation
�ND ��[m]
Lo�ical �ND Data Memory to �CC
1
Z
OR ��[m]
Lo�ical OR Data Memory to �CC
1
Z
XOR ��[m]
Lo�ical XOR Data Memory to �CC
1
Z
�NDM ��[m]
Lo�ical �ND �CC to Data Memory
1
Note
Z
ORM ��[m]
Lo�ical OR �CC to Data Memory
1
Note
Z
XORM ��[m]
Lo�ical XOR �CC to Data Memory
1
Note
Z
�ND ��x
Lo�ical �ND immediate Data to �CC
1
Z
OR ��x
Lo�ical OR immediate Data to �CC
1
Z
XOR ��x
Lo�ical XOR immediate Data to �CC
1
Z
CPL [m]
Complement Data Memory
1
Note
Z
CPL� [m]
Complement Data Memory with res�lt in �CC
1
Z
Increment & Decrement
INC� [m]
Increment Data Memory with res�lt in �CC
1
Z
INC [m]
Increment Data Memory
1
Note
Z
DEC� [m]
Decrement Data Memory with res�lt in �CC
1
Z
DEC [m]
Decrement Data Memory
1
Note
Z
Rotate
RR� [m]
Rotate Data Memory ri�ht with res�lt in �CC
1
None
RR [m]
Rotate Data Memory ri�ht
1
Note
None
RRC� [m]
Rotate Data Memory ri�ht thro��h Carry with res�lt in �CC
1
C
RRC [m]
Rotate Data Memory ri�ht thro��h Carry
1
Note
C
RL� [m]
Rotate Data Memory left with res�lt in �CC
1
None
RL [m]
Rotate Data Memory left
1
Note
None
RLC� [m]
Rotate Data Memory left thro��h Carry with res�lt in �CC
1
C
RLC [m]
Rotate Data Memory left thro��h Carry
1
Note
C