Rev. 1.00
196
��ne ��� �01�
Rev. 1.00
19�
��ne ��� �01�
HT66FM5440
Brushless DC Motor A/D Flash MCU
HT66FM5440
Brushless DC Motor A/D Flash MCU
Instruction Set Summary
The instructions related to the data memory access in the following table can be used when the
desired data memory is located in Data Memory sector 0.
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 Memory to ACC
1
Z� C� AC� OV� SC
ADDM A�[m]
Add ACC to Data Memory
1
Note
Z� C� AC� OV� SC
ADD A�x
Add immediate data to ACC
1
Z� C� AC� OV� SC
ADC A�[m]
Add Data Memory to ACC with Carry
1
Z� C� AC� OV� SC
ADCM A�[m]
Add ACC to Data memory with Carry
1
Note
Z� C� AC� OV� SC
SUB A�x
S�btract immediate data from the ACC
1
Z� C� AC� OV� SC� CZ
SUB A�[m]
S�btract Data Memory from ACC
1
Z� C� AC� OV� SC� CZ
SUBM A�[m]
S�btract Data Memory from ACC with res�lt in Data Memory
1
Note
Z� C� AC� OV� SC� CZ
SBC A�x
S�btract immediate data from ACC with Carry
1
Z� C� AC� OV� SC� CZ
SBC A�[m]
S�btract Data Memory from ACC with Carry
1
Z� C� AC� OV� SC� CZ
SBCM A�[m]
S�btract Data Memory from ACC with Carry� res�lt in Data Memory
1
Note
Z� C� AC� OV� SC� CZ
DAA [m]
Decimal adj�st ACC for Addition with res�lt in Data Memory
1
Note
C
Logic Operation
AND A�[m]
Logical AND Data Memory to ACC
1
Z
OR A�[m]
Logical OR Data Memory to ACC
1
Z
XOR A�[m]
Logical XOR Data Memory to ACC
1
Z
ANDM A�[m]
Logical AND ACC to Data Memory
1
Note
Z
ORM A�[m]
Logical OR ACC to Data Memory
1
Note
Z
XORM A�[m]
Logical XOR ACC to Data Memory
1
Note
Z
AND A�x
Logical AND immediate Data to ACC
1
Z
OR A�x
Logical OR immediate Data to ACC
1
Z
XOR A�x
Logical XOR immediate Data to ACC
1
Z
CPL [m]
Complement Data Memory
1
Note
Z
CPLA [m]
Complement Data Memory with res�lt in ACC
1
Z
Increment & Decrement
INCA [m]
Increment Data Memory with res�lt in ACC
1
Z
INC [m]
Increment Data Memory
1
Note
Z
DECA [m]
Decrement Data Memory with res�lt in ACC
1
Z
DEC [m]
Decrement Data Memory
1
Note
Z
Rotate
RRA [m]
Rotate Data Memory right with res�lt in ACC
1
None
RR [m]
Rotate Data Memory right
1
Note
None
RRCA [m]
Rotate Data Memory right thro�gh Carry with res�lt in ACC
1
C
RRC [m]
Rotate Data Memory right thro�gh Carry
1
Note
C
RLA [m]
Rotate Data Memory left with res�lt in ACC
1
None
RL [m]
Rotate Data Memory left
1
Note
None
RLCA [m]
Rotate Data Memory left thro�gh Carry with res�lt in ACC
1
C
RLC [m]
Rotate Data Memory left thro�gh Carry
1
Note
C