Rev. 1.10
222
October 23, 2020
Rev. 1.10
223
October 23, 2020
BC66F5652
2.4GHz RF Transceiver A/D Flash MCU
BC66F5652
2.4GHz RF Transceiver 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 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
Description
Cycles
Flag Affected
Arithmetic
LADD A,[m]
Add Data Memory to ACC
2
Z, C, AC, OV, SC
LADDM A,[m]
Add ACC to Data Memory
2
Note
Z, C, AC, OV, SC
LADC A,[m]
Add Data Memory to ACC with Carry
2
Z, C, AC, OV, SC
LADCM A,[m]
Add ACC to Data memory with Carry
2
Note
Z, C, AC, OV, SC
LSUB A,[m]
Subtract Data Memory from ACC
2
Z, C, AC, OV, SC, CZ
LSUBM A,[m]
Subtract Data Memory from ACC with result in Data Memory
2
Note
Z, C, AC, OV, SC, CZ
LSBC A,[m]
Subtract Data Memory from ACC with Carry
2
Z, C, AC, OV, SC, CZ
LSBCM A,[m]
Subtract Data Memory from ACC with Carry, result in Data Memory
2
Note
Z, C, AC, OV, SC, CZ
LDAA [m]
Decimal adjust ACC for Addition with result in Data Memory
2
Note
C
Logic Operation
LAND A,[m]
Logical AND Data Memory to ACC
2
Z
LOR A,[m]
Logical OR Data Memory to ACC
2
Z
LXOR A,[m]
Logical XOR Data Memory to ACC
2
Z
LANDM A,[m]
Logical AND ACC to Data Memory
2
Note
Z
LORM A,[m]
Logical OR ACC to Data Memory
2
Note
Z
LXORM A,[m] Logical XOR ACC to Data Memory
2
Note
Z
LCPL [m]
Complement Data Memory
2
Note
Z
LCPLA [m]
Complement Data Memory with result in ACC
2
Z
Increment & Decrement
LINCA [m]
Increment Data Memory with result in ACC
2
Z
LINC [m]
Increment Data Memory
2
Note
Z
LDECA [m]
Decrement Data Memory with result in ACC
2
Z
LDEC [m]
Decrement Data Memory
2
Note
Z
Rotate
LRRA [m]
Rotate Data Memory right with result in ACC
2
None
LRR [m]
Rotate Data Memory right
2
Note
None
LRRCA [m]
Rotate Data Memory right through Carry with result in ACC
2
C
LRRC [m]
Rotate Data Memory right through Carry
2
Note
C
LRLA [m]
Rotate Data Memory left with result in ACC
2
None
LRL [m]
Rotate Data Memory left
2
Note
None
LRLCA [m]
Rotate Data Memory left through Carry with result in ACC
2
C
LRLC [m]
Rotate Data Memory left through Carry
2
Note
C
Data Move
LMOV A,[m]
Move Data Memory to ACC
2
None
LMOV [m],A
Move ACC to Data Memory
2
Note
None
Bit Operation
LCLR [m].i
Clear bit of Data Memory
2
Note
None
LSET [m].i
Set bit of Data Memory
2
Note
None