Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- iAPx86 - <b>btc bit test and complement flags: o d i t s z a p c</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
BTC             Bit Test and Complement              Flags: O D I T S Z A P C
                                                            - - - - - - - - *
BTC destination,source                               CPU: 386+

        Logic   CF . bit, bit . NOT(bit)

    The source specifies a bit index in the destination operand.
    BTC copies that bit to the carry flag and then complements
    it in destination.


    Opcode      Format
    0F BB       BTC r/m16,r16
    0F BB       BTC r/m32,r32
    0F BA /7 ib BTC r/m16,imm8
    0F BA /7 ib BTC r/m32,imm8


    Length and timing
    Operands    Bytes   8088    186     286     386     486     Pentium
    reg, reg     3                               6       6       7   NP
    mem, reg   3+d(0,1,2,4)                     13      13      13   NP
    reg, imm8    3+i(1)                          6       6       7   NP
    mem, imm8  3+d(0,1,2,4)+i(1)                 8       8       8   NP

See Also: BT BTR BTS BSF TEST SETcc

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson