Rev. 1.00
19�
��ne ��� �01�
Rev. 1.00
199
��ne ��� �01�
HT66FM5440
Brushless DC Motor A/D Flash MCU
HT66FM5440
Brushless DC Motor A/D Flash MCU
Extended Instruction Set
The extended instructions are used to support the full range address access for the data memory.
When the accessed data memory is located in any data memory sections except sector 0, the
extended instruction can be used to access the data memory instead of using the indirect addressing
access to improve the CPU firmware performance.
Mnemonic
Description
Cycles
Flag Affected
Arithmetic
LADD A�[m]
Add Data Memory to ACC
�
Z� C� AC� OV� SC
LADDM A�[m]
Add ACC to Data Memory
�
Note
Z� C� AC� OV� SC
LADC A�[m]
Add Data Memory to ACC with Carry
�
Z� C� AC� OV� SC
LADCM A�[m]
Add ACC to Data memory with Carry
�
Note
Z� C� AC� OV� SC
LSUB A�[m]
S�btract Data Memory from ACC
�
Z� C� AC� OV� SC� CZ
LSUBM A�[m]
S�btract Data Memory from ACC with res�lt in Data Memory
�
Note
Z� C� AC� OV� SC� CZ
LSBC A�[m]
S�btract Data Memory from ACC with Carry
�
Z� C� AC� OV� SC� CZ
LSBCM A�[m]
S�btract Data Memory from ACC with Carry� res�lt in Data Memory
�
Note
Z� C� AC� OV� SC� CZ
LDAA [m]
Decimal adj�st ACC for Addition with res�lt in Data Memory
�
Note
C
Logic Operation
LAND A�[m]
Logical AND Data Memory to ACC
�
Z
LOR A�[m]
Logical OR Data Memory to ACC
�
Z
LXOR A�[m]
Logical XOR Data Memory to ACC
�
Z
LANDM A�[m]
Logical AND ACC to Data Memory
�
Note
Z
LORM A�[m]
Logical OR ACC to Data Memory
�
Note
Z
LXORM A�[m] Logical XOR ACC to Data Memory
�
Note
Z
LCPL [m]
Complement Data Memory
�
Note
Z
LCPLA [m]
Complement Data Memory with res�lt in ACC
�
Z
Increment & Decrement
LINCA [m]
Increment Data Memory with res�lt in ACC
�
Z
LINC [m]
Increment Data Memory
�
Note
Z
LDECA [m]
Decrement Data Memory with res�lt in ACC
�
Z
LDEC [m]
Decrement Data Memory
�
Note
Z
Rotate
LRRA [m]
Rotate Data Memory right with res�lt in ACC
�
None
LRR [m]
Rotate Data Memory right
�
Note
None
LRRCA [m]
Rotate Data Memory right thro�gh Carry with res�lt in ACC
�
C
LRRC [m]
Rotate Data Memory right thro�gh Carry
�
Note
C
LRLA [m]
Rotate Data Memory left with res�lt in ACC
�
None
LRL [m]
Rotate Data Memory left
�
Note
None
LRLCA [m]
Rotate Data Memory left thro�gh Carry with res�lt in ACC
�
C
LRLC [m]
Rotate Data Memory left thro�gh Carry
�
Note
C
Data Move
LMOV A�[m]
Move Data Memory to ACC
�
None
LMOV [m]�A
Move ACC to Data Memory
�
Note
None
Bit Operation
LCLR [m].i
Clear bit of Data Memory
�
Note
None
LSET [m].i
Set bit of Data Memory
�
Note
None