CHAPTER 11 INSTRUCTION SET
248
User’s Manual U10676EJ3V0UM
11.3 Opcode of Each Instruction
(1) Description of symbol of opcode
R
2
R
1
R
0
reg
0
0
0
A
0
0
1
X
0
1
0
L
0
1
1
H
1
0
0
E
1
0
1
D
1
1
0
C
1
1
1
B
reg
reg1
P
2
P
1
P
0
reg-pair
0
0
0
XA
0
0
1
XA'
0
1
0
HL
0
1
1
HL'
1
0
0
DE
1
0
1
DE'
1
1
0
BC
1
1
1
BC'
rp'
rp'1
Q
2
Q
1
Q
0
addressing
0
0
0
@HL
0
1
0
@HL+
0
1
1
@HL–
1
0
0
@DE
1
0
1
@DL
P
2
P
1
reg-pair
0
0
XA
0
1
HL
1
0
DE
1
1
BC
rp2
rp1
rp
N
5
N
2
N
1
N
0
IE
×××
0
0
0
0
IEBT
0
1
0
0
IET0
0
1
1
0
IE0
0
1
1
1
IE2
1
0
0
1
IEEE
1
1
0
0
IET1
1
1
0
1
IET2
@rpa
@rpa1
I
n
:
Immediate data for n4 or n8
D
n
: Immediate data for mem
B
n
: Immediate data for bit
N
n
: Immediate data for n or IE
×××
T
n
: Immediate data for taddr
×
1/2
A
n
: Immediate data for [relative address distance from branch destination address (2-16)] – 1
S
n
: Immediate data for 1’s complement of [relative address distance from branch destination address (15-1)]