English
Language : 

UPD784044 Datasheet, PDF (52/90 Pages) NEC – 16-BIT SINGLE-CHIP MICROCONTROLLER
µPD784044(A), 784046(A)
12. INSTRUCTION SET
(1) 8-bit instructions (( ): combination realized by writing 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 12-1. Instructions for 8-Bit Addressing
2nd Operand #byte
A
r
saddr
sfr
!addr16
mem
r3
[WHL+]
n
NoneNote 2
r’
saddr’
!!addr24 [saddrp] PSWL [WHL–]
1st Operand
[%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
RORNote 3 MULU
ADDNote 1 (XCH)
XCH
XCH
XCH
XCH
DIVUW
(ADD)Note 1 ADDNote 1 ADDNote 1
ADDNote 1
INC
DEC
saddr
MOV
(MOV)Note 6 MOV
MOV
INC
ADDNote 1 (ADD)Note 1 ADDNote 1 XCH
DEC
ADDNote 1
DBNZ
sfr
MOV MOV
MOV
PUSH
ADDNote 1 (ADD)Note 1 ADDNote 1
POP
CHKL
CHKLA
!addr16
MOV (MOV) MOV
!!addr24
ADDNote 1
mem
MOV
[saddrp]
ADDNote 1
[%saddrg]
mem3
ROR4
ROL4
r3
MOV MOV
PSWL
PSWH
B, C
DBNZ
STBC, WDM MOV
[TDE+]
(MOV)
MOVBKNote 5
[TDE–]
(ADD)Note 1
MOVMNote 4
Notes 1. ADDC, SUB, SUBC, AND, OR, XOR, and CMP are the same as ADD.
2. Either the second operand is not used, or the second operand is not an operand address.
3. ROL, RORC, ROLC, SHR, and SHL are the same as ROR.
4. XCHM, CMPME, CMPMNE, CMPMNC, and CMPMC are the same as MOVM.
5. XCHBK, CMPBKE, CMPBKNE, CMPBKNC, and CMPBKC are the same as MOVBK.
6. If saddr is saddr2 in this combination, some instructions have a short code length.
52