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 sector except sector 0, the extended
instruction can be used to directly access the data memory instead of using the indirect addressing
access. This can not only reduce the use of Flash memory space but also improve the CPU execution
efficiency.
Mnemonic
Arithmetic
LADD A,[m]
Add Data Memory to ACC
LADDM A,[m]
Add ACC to Data Memory
LADC A,[m]
Add Data Memory to ACC with Carry
LADCM A,[m]
Add ACC to Data memory with Carry
LSUB A,[m]
Subtract Data Memory from ACC
LSUBM A,[m]
Subtract Data Memory from ACC with result in Data Memory
LSBC A,[m]
Subtract Data Memory from ACC with Carry
LSBCM A,[m]
Subtract Data Memory from ACC with Carry, result in Data Memory
LDAA [m]
Decimal adjust ACC for Addition with result in Data Memory
Logic Operation
LAND A,[m]
Logical AND Data Memory to ACC
LOR A,[m]
Logical OR Data Memory to ACC
LXOR A,[m]
Logical XOR Data Memory to ACC
LANDM A,[m]
Logical AND ACC to Data Memory
LORM A,[m]
Logical OR ACC to Data Memory
LXORM A,[m]
Logical XOR ACC to Data Memory
LCPL [m]
Complement Data Memory
LCPLA [m]
Complement Data Memory with result in ACC
Increment & Decrement
LINCA [m]
Increment Data Memory with result in ACC
LINC [m]
Increment Data Memory
LDECA [m]
Decrement Data Memory with result in ACC
LDEC [m]
Decrement Data Memory
Rotate
LRRA [m]
Rotate Data Memory right with result in ACC
LRR [m]
Rotate Data Memory right
LRRCA [m]
Rotate Data Memory right through Carry with result in ACC
LRRC [m]
Rotate Data Memory right through Carry
LRLA [m]
Rotate Data Memory left with result in ACC
LRL [m]
Rotate Data Memory left
LRLCA [m]
Rotate Data Memory left through Carry with result in ACC
LRLC [m]
Rotate Data Memory left through Carry
Data Move
LMOV A,[m]
Move Data Memory to ACC
LMOV [m],A
Move ACC to Data Memory
Bit Operation
LCLR [m].i
Clear bit of Data Memory
LSET [m].i
Set bit of Data Memory
Rev. 1.60
Advanced A/D Flash MCU with LCD & EEPROM
Description
270
HT67F2350/HT67F2360
HT67F2370/HT67F2390
Cycles
Flag Affected
2
Z, C, AC, OV, SC
Note
2
Z, C, AC, OV, SC
2
Z, C, AC, OV, SC
2
Note
Z, C, AC, OV, SC
2
Z, C, AC, OV, SC, CZ
2
Note
Z, C, AC, OV, SC, CZ
2
Z, C, AC, OV, SC, CZ
2
Note
Z, C, AC, OV, SC, CZ
2
Note
C
2
Z
2
Z
2
Z
2
Note
Z
2
Note
Z
2
Note
Z
Note
2
Z
2
Z
2
Z
2
Note
Z
2
Z
2
Note
Z
2
None
2
Note
None
2
C
2
Note
C
2
None
2
Note
None
2
C
Note
2
C
2
None
2
Note
None
2
Note
None
2
Note
None
May 16, 2019
Need help?
Do you have a question about the HT67F2350 and is the answer not in the manual?