22
(3) Format of Bit Manipulation Instructions
Figure 1-7 shows the format used for bit manipulation instructions.
15
8
7
0
op
Operand: register direct (Rn)
15
7
op
8
0
Bit No.: register direct (Rm)
0 0 0 0
0
0
0
0
IMM
op
Operand: register indirect (@Rn)
Bit No.: immediate (#xx:3)
op
15
op
Operand: absolute (@aa:8)
Bit No.: immediate (#xx:3)
7
8
IMM
abs.
0 0 0 0
0
BSET, BCLR, BNOT, BTST
op
15
Bit No.: immediate (#xx:3)
Operand: register direct (Rn)
7
8
IMM
n
0
op
15
op
Bit No.: register direct (Rm)
Operand: register indirect (@Rn)
7
8
0 0 0 0
0
0 0
0
0
op
15
op
Operand: absolute (@aa:8)
Bit No.: register direct (Rm)
7
8
abs
0 0 0 0
0
op
15
BAND, BOR, BXOR, BLD, BST
Operand: register direct (Rn)
Bit No.: immediate (#xx:3)
7
8
IMM
0
op
op
15
op
15
op
Operand: register indirect (@Rn)
Bit No.: immediate (#xx:3)
Operand: absolute (@aa:8)
Bit No.: immediate (#xx:3)
7
8
abs
IMM
IMM
0 0 0 0
0
0
0
0
0
7
8
0 0
0
0 0
r
n
r
n
r
m
r
n
r
m
r
m
r
n
r
n
r
Notation
op : Operation field
r , r : Register field
abs. : Absolute address
IMM : Immediate data
m n
Figure 1-7. Instruction Format of Bit Manipulation Instructions
Summary of Contents for H8/300L Series
Page 1: ...H8 300L Series Programming Manual ...
Page 6: ...iv ...
Page 8: ...2 ...
Page 11: ......
Page 14: ......
Page 46: ......
Page 48: ......
Page 60: ......
Page 83: ......
Page 116: ......
Page 150: ...144 ...
Page 151: ......
Page 156: ...150 ...