English
Language : 

UPD784915B Datasheet, PDF (61/86 Pages) NEC – 16-BIT SINGLE-CHIP MICROCONTROLLERS
µPD784915B, 784916B
5. INSTRUCTION SETS
(1) 8-bit instructions (( ): combination 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
2nd Operand # byte
1st Operand
A
(MOV)
ADDNote 1
r
MOV
ADDNote 1
saddr
sfr
MOV
ADDNote 1
MOV
ADDNote 1
!addr16
!!addr24
mem
[saddrp]
[%saddrg]
mem3
MOV
r3
MOV
PSWL
PSWH
B, C
STBC, WDM MOV
[TDE+]
[TDE–]
A
r
saddr
sfr !addr16 mem
r3 [WHL+] [WHL–] n None Note 2
r'
saddr'
!!addr24 [saddrp] PSWL
[%saddrg] PSWH
(MOV) MOV (MOV)Note 6 MOV (MOV) MOV
(XCH) XCH (XCH)Note 6 (XCH) (XCH) XCH
(ADD)Note 1 (ADD)Note 1 (ADD)Notes1,6 (ADD)Note 1 ADDNote1 ADDNote 1
(MOV) MOV MOV MOV MOV
MOV (MOV) (MOV)
(XCH) (XCH)
(ADD)Note 1 (ADD)Note 1
RORNote 3 MULU
(XCH) XCH XCH XCH XCH
(ADD)Note 1 ADDNote 1 ADDNote 1 ADDNote 1
DIVUW
INC
(MOV)Note6 MOV
(ADD)Note 1 ADDNote 1
MOV
XCH
ADDNote 1
DEC
INC
DEC
DBNZ
MOV MOV
(ADD)Note 1 ADDNote 1
PUSH
POP
CHKL
CHKLA
(MOV) MOV
ADDNote 1
MOV
ADDNote 1
MOV
ROR4
ROL4
(MOV)
(ADD)Note 1
MOVMNote 4
(MOV)
(ADD)Note 1
MOVMNote 4
MOVBKNote 5
MOVBKNote 5
DBNZ
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 operation 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 saddr2 instead of saddr is used in this combination, the code length of some instructions is short.
61