btc

Bit Test and Complement

BTC r/m, r

Stores bit in CF and complements the bit.

Details

The Bit Test and Complement instruction stores bit in CF and complements the bit.

Pseudocode Operation

CF <- bit(DEST, offset); toggle bit(DEST, offset)

Example

BTC rbx, rax

Encoding

Binary Layout
0F
+0
BB
+1
 
Format Legacy
Opcode 0F BB
Extension Base

Operands

  • dest
    Register or memory operand
  • src
    General-purpose register