btr

Bit Test and Reset

BTR r/m, r

Stores bit in CF and clears bit to 0.

Details

The Bit Test and Reset instruction stores bit in CF and clears bit to 0.

Pseudocode Operation

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

Example

BTR rbx, rax

Encoding

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

Operands

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