553
CHAPTER 28 INSTRUCTION OPERATION
User’s Manual U12697EJ3V0UM
(3) 24-bit instructions (The values enclosed by parentheses are combined to express WHL description as
rg.)
MOVG, ADDG, SUBG, INCG, DECG, PUSH, POP
Table 28-3. 24-Bit Addressing Instructions
Second
#imm24
WHL
rg
saddrg
!!addr24
mem1
[%saddrg]
SP
None
Note
operand
rg'
First operand
WHL
(MOVG)
(MOVG)
(MOVG)
(MOVG)
(MOVG)
MOVG
MOVG
MOVG
(ADDG)
(ADDG)
(ADDG)
ADDG
(SUBG)
(SUBG)
(SUBG)
SUBG
rg
MOVG
(MOVG)
MOVG
MOVG
MOVG
INCG
ADDG
(ADDG)
ADDG
DECG
SUBG
(SUBG)
SUBG
PUSH
POP
saddrg
(MOVG)
MOVG
!!addr24
(MOVG)
MOVG
mem1
MOVG
[%saddrg]
MOVG
SP
MOVG
MOVG
INCG
DECG
Note
There is no second operand, or the second operand is not an operand address.
(4) Bit manipulation instructions
MOV1, AND1, OR1, XOR1, SET1, CLR1, NOT1, BT, BF, BTCLR, BFSET
Table 28-4. Bit Manipulation Instruction Addressing Instructions
Second operand
CY
saddr.bit sfr.bit
/saddr.bit /sfr.bit
None
Note
A.bit X.bit
/A.bit /X.bit
PSWL.bit PSWH.bit
/PSWL.bit /PSWH.bit
mem2.bit
/mem2.bit
!addr16.bit
/!addr16.bit
First operand
!!addr24.bit
/!!addr24.bit
CY
MOV1
AND1
NOT1
AND1
OR1
SET1
OR1
CLR1
XOR1
saddr.bit
MOV1
NOT1
sfr.bit
SET1
A.bit
CLR1
X.bit
BF
PSWL.bit
BT
PSWH.bit
BTCLR
mem2.bit
BFSET
!addr16.bit
!!addr24.bit
Note
There is no second operand, or the second operand is not an operand address.