Name
BTST
BTSF
BTSTZ
BITS
BITR
BAND
BOR
BXOR
LDB
Table 5-14. Bit Manipulation Instructions — High-Level Summary
Operand
C
DA.b
mema.b
memb.@L
@H+DA.b
DA.b
mema.b
memb.@L
@H+DA.b
mema.b
memb.@L
@H+DA.b
DA.b
mema.b
memb.@L
@H+DA.b
DA.b
mema.b
memb.@L
@H+DA.b
C,mema.b
C,memb.@L
C,@H+DA.b
C,mema.b
C,memb.@L
C,@H+DA.b
C,mema.b
C,memb.@L
C,@H+DA.b
mema.b,C
memb.@L,C
@H+DA.b,C
C,mema.b
C,memb.@L
C,@H+DA.b
Operation Description
Test specified bit and skip if carry flag is set
Test specified bit and skip if memory bit is set
Test specified memory bit and skip if bit equals “0”
Test specified bit; skip and clear if memory bit is set
Set specified memory bit
Clear specified memory bit to logic zero
Logical-AND carry flag with specified memory bit
Logical-OR carry with specified memory bit
Exclusive-OR carry with specified memory bit
Load carry bit to a specified memory bit
Load carry bit to a specified indirect memory bit
Load specified memory bit to carry bit
Load specified indirect memory bit to carry bit
Bytes
1
2
2
Cycles
1+S
2+S
2