NEC 78K/0 Series User Manual
Page 40
40
CHAPTER 4 INSTRUCTION SET
User's Manual U12326EJ4V0UM
16-Bit Data
MOVW
rp,#word
0 0 0 1
0 P
1
P
0
0
Low byte
High byte
Transfer
saddrp,#word
1 1 1 0
1 1 1 0
Saddr-offset
Low byte
High byte
sfrp,#word
1 1 1 1
1 1 1 0
Sfr-offset
Low byte
High byte
AX,saddrp
1 0 0 0
1 0 0 1
Saddr-offset
saddrp,AX
1 0 0 1
1 0 0 1
Saddr-offset
AX,sfrp
1 0 1 0
1 0 0 1
Sfr-offset
sfrp,AX
1 0 1 1
1 0 0 1
Sfr-offset
AX,rp
Note 1
1 1 0 0
0 P
1
P
0
0
rp,AX
Note 1
1 1 0 1
0 P
1
P
0
0
AX,!addr16
0 0 0 0
0 0 1 0
Low addr
High addr
!addr16,AX
0 0 0 0
0 0 1 1
Low addr
High addr
XCHW
AX,rp
Note 1
1 1 1 0
0 P
1
P
0
0
8-Bit
ADD
A,#byte
0 0 0 0
1 1 0 1
Data
Operation
saddr,#byte
1 0 0 0
1 0 0 0
Saddr-offset
Data
A,r
Note 2
0 1 1 0
0 0 0 1
0 0 0 0
1 R
2
R
1
R
0
r,A
0 1 1 0
0 0 0 1
0 0 0 0
0 R
2
R
1
R
0
A,saddr
0 0 0 0
1 1 1 0
Saddr-offset
A,!addr16
0 0 0 0
1 0 0 0
Low addr
High addr
A,[HL]
0 0 0 0
1 1 1 1
A,[HL+byte]
0 0 0 0
1 0 0 1
Data
A,[HL+B]
0 0 1 1
0 0 0 1
0 0 0 0
1 0 1 1
A,[HL+C]
0 0 1 1
0 0 0 1
0 0 0 0
1 0 1 0
ADDC
A,#byte
0 0 1 0
1 1 0 1
Data
saddr,#byte
1 0 1 0
1 0 0 0
Saddr-offset
Data
A,r
Note 2
0 1 1 0
0 0 0 1
0 0 1 0
1 R
2
R
1
R
0
r,A
0 1 1 0
0 0 0 1
0 0 1 0
0 R
2
R
1
R
0
A,saddr
0 0 1 0
1 1 1 0
Saddr-offset
A,!addr16
0 0 1 0
1 0 0 0
Low addr
High addr
A,[HL]
0 0 1 0
1 1 1 1
A,[HL+byte]
0 0 1 0
1 0 0 1
Data
A,[HL+B]
0 0 1 1
0 0 0 1
0 0 1 0
1 0 1 1
A,[HL+C]
0 0 1 1
0 0 0 1
0 0 1 0
1 0 1 0
Instruction
Mnemonic
Operands
Operation Code
Group
B1
B2
B3
B4
Notes 1. Only when rp = BC, DE or HL.
2. Except r = A.