IA-32 Assembly Language Reference Manual

Bit Test And Reset (btr)

btr{wl}		imm8, r/m[16|32]
btr{wl}		reg[16|32], r/m[16|32]
Operation

BIT[LeftSRC, RightSRC] -> CF

0 -> BIT[LeftSRC, RightSRC]

Description

The value of the first operand (base) and the second operand (bit offset) are saved by btr into the carry flag and then it stores 0 in the bit.

Example
btrl $253, 4(%edi)
 btrl $edx, 4(%edi)