
52
μ
PD784031Y
12. INSTRUCTION SET
(1) 8-bit instructions (The instructions in parentheses are combinations realized by describing A as r)
MOV, XCH, ADD, ADDC, SUB, SUBC, AND, OR, XOR, CMP, MULU, DIVUW, INC, DEC, ROR, ROL, RORC,
ROLC, SHR, SHL, ROR4, DBNZ, PUSH, POP, MOVM, XCHM, CMPME, CMPMNE, CMPMNC, CMPMC, MOVBK,
XCHBK, CMPBKE, CMPBKNE, CMPBKNC, CMPBKC, CHIKL, CHKLA
Table 12-1. Instruction List by 8-bit Addressing
Second Operand
#byte
A
r
saddr
sfr
!addr16
mem
r3
[WHL+]
n
None
Note 2
r'
saddr'
!!addr24
[saddrp]
PSWL
[WHL–]
First Operand
[%saddrg]
PSWH
A
(MOV)
ADD
Note 1
(MOV)
MOV
(MOV)
Note 6
(XCH)
Note 6
MOV
(MOV)
MOV
MOV
(MOV)
(XCH)
(ADD)
Note 1
(ADD)
Note 1
(ADD)
Note 1,6
(ADD)
Note 1
ADD
Note 1
XCH
(XCH)
(XCH)
XCH
ADD
Note 1
(XCH)
(ADD)
Note 1
r
MOV
ADD
Note 1
(MOV)
MOV
MOV
MOV
MOV
ROR
Note 3
MULU
(XCH)
(ADD)
Note 1
ADD
Note 1
ADD
Note 1
ADD
Note 1
XCH
XCH
XCH
XCH
DIVUW
INC
DEC
saddr
MOV
ADD
Note 1
(ADD)
Note 1
ADD
Note 1
(MOV)
Note 6
MOV
MOV
INC
XCH
DEC
ADD
Note 1
DBNZ
sfr
MOV
ADD
Note 1
(ADD)
Note 1
ADD
Note 1
MOV
MOV
PUSH
POP
CHKL
CHKLA
!addr16
MOV
(MOV)
ADD
Note 1
MOV
!!addr24
mem
MOV
ADD
Note 1
[saddrp]
[%saddrg]
mem3
ROR4
ROL4
r3
MOV
MOV
PSWL
PSWH
B, C
DBNZ
STBC, WDM
MOV
[TDE+]
(MOV)
(ADD)
Note 1
MOVBK
Note 5
[TDE–]
MOVM
Note 4
Notes 1.
The operands of ADDC, SUB, SUBC, AND, OR, XOR, and CMP are the same as that of ADD.
2.
Either the second operand is not used, or the second operand is not an operand address.
3.
The operands of ROL, RORC, ROLC, SHR, and SHL are the same as that of ROR.
4.
The operands of XCHM, CMPME, CMPMNE, CMPMNC, and CMPMC are the same as that of MOVM.
5.
The operands of XCHBK, CMPBKE, CMPBKNE, CMPBKNC, and CMPBKC are the same as that of MOVBK.
6.
The code length of some instructions having saddr2 as saddr in this combination is short.