156
CHAPTER 9. INSTRUCTION SET
R
1
R
0
reg
0
0
A
0
1
X
1
0
L
1
1
H
9.3
OPERATION CODE OF EACH INSTRUCTION
(1)
Description of operation code symbols
P
1
reg-pair
0
XA
1
HL
N
2
N
1
N
0
IE
×××
0
0
0
IEBT
1
0
1
IECSI
1
1
0
IE0
1
1
1
IE2
In : Immediate data for n4, n8
Dn : Immediate data for mem
Bn : Immediate data for bit
Nn : Immediate data for n, IE
×××
An : Immediate data for [relative address distance with branch address (2 to 16)] - 1
Sn : Immediate data for one’s complement of [relative address distance with branch address (15 to 1)]
(2)
Bit manipulation addressing operation code
bit-addr of the second byte of the operation code of an instruction with fmem. bit at the operands is shown below.
bit-addr
Accessible bits
1 0 B
1
B
0
F
3
F
2
F
1
F
0
Operable bits of FB0H to FBFH
1 1 B
1
B
0
F
3
F
2
F
1
F
0
Operable bits of FF0H to FFFH
Bn : Immediate data for bit address (0 to 3) described at bit
Fn : Immediate data for low-order four bits of address described at fmem
reg
reg 1
rp