English
Language : 

UPD784224 Datasheet, PDF (56/92 Pages) NEC – 16/8-BIT SINGLE-CHIP MICROCONTROLLERS
µPD784224, 784225, 784224Y, 784225Y
13. 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, ROL4, DBNZ, PUSH, POP, MOVM, XCHM, CMPME, CMPMNE, CMPMNC,
CMPMC, MOVBK, XCHBK, CMPBKE, CMPBKNE, CMPBKNC, CMPBKC, CHKL, CHKLA
Table 13-1. Instruction List by 8-Bit Addressing
Second Operand #byte
A
First Operand
r
saddr
sfr
!addr16 mem
r3
[WHL+]
n
NoneNote 2
r'
saddr'
!!addr24 [saddrp] PSWL [WHL–]
[%saddrg] PSWH
A
(MOV) (MOV)
MOV (MOV)Note 6 MOV
(MOV)
MOV
MOV (MOV)
ADDNote 1 (XCH)
XCH (XCH)Note 6 (XCH) (XCH)
XCH
(XCH)
(ADD)Note 1 (ADD)Note 1 (ADD)Note 1,6 (ADD)Note 1 ADDNote 1 ADDNote 1
(ADD)Note 1
r
MOV (MOV) MOV
MOV
MOV
MOV
ADDNote 1 (XCH)
XCH
XCH
XCH
XCH
(ADD)Note 1 ADDNote 1 ADDNote 1 ADDNote 1
RORNote 3
MULU
DIVUW
INC
DEC
saddr
MOV (MOV)Note 6 MOV
MOV
ADDNote 1 (ADD)Note 1 ADDNote 1
XCH
ADDNote 1
INC
DEC
DBNZ
sfr
MOV
MOV
MOV
ADDNote 1 (ADD)Note 1 ADDNote 1
PUSH
POP
CHKL
CHKLA
!addr16
!!addr24
MOV
(MOV)
ADDNote 1
MOV
mem
[saddrp]
[%saddrg]
MOV
ADDNote 1
mem3
ROR4
ROL4
r3
PSWL
PSWH
MOV
MOV
B, C
DBNZ
STBC, WDM
MOV
[TDE+]
[TDE–]
(MOV)
(ADD)Note 1
MOVMNote 4
MOVBKNote 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.
56
Data Sheet U12376EJ1V0DS00