31
Figure 2.7 shows the object code formats of the bit manipulation instructions.
15
8
7
0
15
8
7
0
op
rn
IMM
op
rn
15
8
7
0
op
abs
Operand: absolute(@aa:8)
Bit No.: immediate (#xx:3)
15
8
7
0
op
15
8
7
0
op
abs
IMM
15
8
7
0
op
15
8
7
0
op
0
15
8
7
0
op
IMM
rn
BSET, BCLR, BNOT, BTST
15
8
7
0
op
rn
rm
rn
IMM
op
0
0
0
0
0
0
0
rn
rm
op
0
0
0
0
0
0
0
0
0
0
0
0
op
abs
0
0
0
0
rm
op
IMM
0
0
0
0
0
0
0
0
op
op
IMM
0
0
0
0
Operand: register indirect (@Rn)
Bit No.: immediate (#xx:3)
Operand: register direct (Rn)
Bit No.: immediate (#xx:3)
BAND, BOR, BXOR, BLD, BST
Operand: absolute(@aa:8)
Bit No.: register direct (Rm)
Operand: absolute (@aa:8)
Bit No.: immediate (#xx:3)
Operand: register indirect (@Rn)
Bit No.: register direct (Rm)
Operand: register indirect (@Rn)
Bit No.: immediate (#xx:3)
Operand: register direct (Rn)
Bit No.: immediate (#xx:3)
Operand: register direct (Rn)
Bit No.: register direct (Rm)
Legend:
op:
Operation field
rm, rn: Register field
abs:
Absolute address
IMM:
Immediate data
Figure 2.7 Bit Manipulation Instruction Object Code Formats