NEC mPD784225 Series User Manual page 551

16-/8-bit single-chip microcontrollers
Table of Contents

Advertisement

28.3 Lists of Addressing Instructions
(1) 8-bit instructions (The values enclosed by parentheses are combined to express the A description 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
Second
#byte
operand
First operand
A
(MOV)
Note 1
ADD
r
MOV
Note 1
ADD
saddr
MOV
Note 1
ADD
sfr
MOV
Note 1
ADD
!addr16
MOV
!!addr24
mem
[saddrp]
[%saddrg]
mem3
r3
MOV
PSWL
PSWH
B, C
STBC, WDM
MOV
[TDE+]
[TDE–]
Notes 1. ADDC, SUB, SUBC, AND, OR, XOR, and CMP are identical to ADD.
2. There is no second operand, or the second operand is not an operand address.
3. ROL, RORC, ROLC, SHR, and SHL are identical to ROR.
4. XCHM, CMPME, CMPMNE, CMPMNC, and CMPMC are identical to MOVM.
5. XCHBK, CMPBKE, CMPBKNE, CMPBKNC, and CMPBKC are identical to MOVBK.
6. When saddr is saddr2 in this combination, the instruction has a short code length.
CHAPTER 28 INSTRUCTION OPERATION
Table 28-1. 8-Bit Addressing Instructions
A
r
saddr
r'
saddr'
Note 6
(MOV)
MOV
(MOV)
MOV
Note 6
(XCH)
XCH
(XCH)
(XCH)
Note 1
Note 1
Notes 1, 6
(ADD)
(ADD)
(ADD)
(ADD)
(MOV)
MOV
MOV
MOV
(XCH)
XCH
XCH
XCH
Note 1
Note 1
Note 1
(ADD)
ADD
ADD
ADD
Note 6
(MOV)
MOV
MOV
Note 1
Note 1
(ADD)
ADD
XCH
Note 1
ADD
MOV
MOV
Note 1
Note 1
(ADD)
ADD
MOV
MOV
Note 1
ADD
MOV
Note 1
ADD
MOV
(MOV)
Note 1
(ADD)
Note 4
MOVM
User's Manual U12697EJ3V0UM
sfr
!addr16
mem
r3
!!addr24
[saddrp]
PSWL
[%saddrg]
PSWH
(MOV)
MOV
MOV
(XCH)
XCH
Note 1
Note 1
Note 1
ADD
ADD
MOV
XCH
Note 1
Note 2
[WHL+]
n
None
[WHL–]
(MOV)
(XCH)
Note 1
(ADD)
Note 3
ROR
MULU
DIVUW
INC
DEC
INC
DEC
DBNZ
PUSH
POP
ROR4
ROL4
DBNZ
Note 5
MOVBK
551

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mpd784225y seriesMpd784224Mpd784225Mpd78f4225Mpd784224yMpd784225y ... Show all

Table of Contents