IA-32 Assembly Language Reference Manual

Bit Test And Complement (btc)

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

BIT [LeftSRC, RightSRC] -> CF

NOT BIT [LeftSRC, RightSRC] -> BIT[LeftSRC, RightSRC]

Description

The bit indicated by the first operand (base) and the second operand (offset) are saved by btc into CF (carry flag) and complements the bit.

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