35
15
0
8
7
op
IMM
rn
Operand:
Bit No.:
Legend:
op:
rm, rn:
abs:
IMM:
Operation field
Register field
Absolute address
Immediate data
15
0
8
7
op
rn
BSET, BCLR, BNOT, BTST
register direct (Rn)
immediate (#xx:3)
Operand:
Bit No.:
register direct (Rn)
register direct (Rm)
rm
15
0
8
7
op
0
Operand:
Bit No.:
register indirect (@Rn)
immediate (#xx:3)
rn
0
0
0
0
0
0
0
IMM
15
0
8
7
op
0
Operand:
Bit No.:
register indirect (@Rn)
register direct (Rm)
rn
0
0
0
0
0
0
0
rm
op
15
0
8
7
op
Operand:
Bit No.:
absolute (@aa:8)
immediate (#xx:3)
abs
0
0
0
0
IMM
op
op
15
0
8
7
op
Operand:
Bit No.:
absolute (@aa:8)
register direct (Rm)
abs
0
0
0
0
rm
op
15
0
8
7
op
IMM
rn
Operand:
Bit No.:
register direct (Rn)
immediate (#xx:3)
BAND, BOR, BXOR, BLD, BST
15
0
8
7
op
0
Operand:
Bit No.:
register indirect (@Rn)
immediate (#xx:3)
rn
0
0
0
0
0
0
0
IMM
op
15
0
8
7
op
Operand:
Bit No.:
absolute (@aa:8)
immediate (#xx:3)
abs
0
0
0
0
IMM
op
Figure 2.7 Bit Manipulation Instruction Codes