Data Sheet U14121EJ2V0DS00
63
μ
PD784214A, 784215A, 784216A, 784217A, 784218A, 784214AY, 784215AY, 784216AY, 784217AY, 784218AY
www.DataSheet4U.com
12. INSTRUCTION SET
(1) 8-bit instructions (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, ROL4, DBNZ, PUSH, POP, MOVM, XCHM, CMPME, CMPMNE, CMPMNC,
CMPMC, MOVBK, XCHBK, CMPBKE, CMPBKNE, CMPBKNC, CMPBKC
Table 12-1. Instruction List by 8-Bit Addressing
Second Operand
First Operand
#byte
A
r
r'
saddr
saddr'
sfr
!addr16
!!addr24
mem
[saddrp]
[%saddrg]
r3
PSWL
PSWH
[WHL+]
[WHL
]
n
None
Note 2
A
(MOV)
ADD
Note 1
(MOV)
(XCH)
(ADD)
Note 1
MOV
XCH
(ADD)
Note 1
(MOV)
Note 6
(XCH)
Note 6
(ADD)
Notes 1, 6
MOV
(XCH)
(ADD)
Note 1
(MOV)
(XCH)
ADD
Note 1
MOV
XCH
ADD
Note 1
MOV
(MOV)
(XCH)
(ADD)
Note 1
r
MOV
ADD
Note 1
(MOV)
(XCH)
(ADD)
Note 1
MOV
XCH
ADD
Note 1
MOV
XCH
ADD
Note 1
MOV
XCH
ADD
Note 1
MOV
XCH
ROR
Note 3
MULU
DIVUW
INC
DEC
saddr
MOV
ADD
Note 1
(MOV)
Note 6
(ADD)
Note 1
MOV
ADD
Note 1
MOV
XCH
ADD
Note 1
INC
DEC
DBNZ
sfr
MOV
ADD
Note 1
MOV
(ADD)
Note 1
MOV
ADD
Note 1
PUSH
POP
!addr16
!!addr24
MOV
(MOV)
ADD
Note 1
MOV
mem
[saddrp]
[%saddrg]
MOV
ADD
Note 1
mem3
ROR4
ROL4
r3
PSWL
PSWH
MOV
MOV
B, C
DBNZ
STBC, WDM
MOV
[TDE+]
[TDE
]
(MOV)
Note 6
(ADD)
Note 1
MOVM
Note 4
MOVBK
Note 5
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.