Table 2-8 Bit-Manipulation Instructions (cont)
Instruction
Size
*
Function
BXOR
B
C
⊕
(<bit-No.> of <EAd>)
→
C
XORs the C flag with a specified bit in a general register or memory, and
stores the result in the C flag.
BIXOR
B
C
⊕
[~(<bit-No.> of <EAd>)]
→
C
XORs the C flag with the inverse of a specified bit in a general register or
memory, and stores the result in the C flag.
The bit number is specified by 3-bit immediate data.
BLD
B
(<bit-No.> of <EAd>)
→
C
Copies a specified bit in a general register or memory to the C flag.
BILD
B
~ (<bit-No.> of <EAd>)
→
C
Copies the inverse of a specified bit in a general register or memory to
the C flag.
The bit number is specified by 3-bit immediate data.
BST
B
C
→
(<bit-No.> of <EAd>)
Copies the C flag to a specified bit in a general register or memory.
BIST
B
~ C
→
(<bit-No.> of <EAd>)
Copies the inverse of the C flag to a specified bit in a general register or
memory.
The bit number is specified by 3-bit immediate data.
Notes:
*
Size: Operand size
B:
Byte
Certain precautions are required in bit manipulation. See 2.9.2, Notes on Bit Manipulation, for
details.
34