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>btr bit test and reset 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]
BTR             Bit Test and Reset                   Flags: O D I T S Z A P C
                                                            - - - - - - - - *
BTR destination,source                               CPU: 386+

        Logic   CF . bit, bit . 0

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


    Opcode      Format
    0F B3       BTR r/m16,r16
    0F B3       BTR r/m32,r32
    0F BA /6 ib BTR r/m16,imm8
    0F BA /6 ib BTR 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 BTC BTS BSF TEST SETcc

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