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

        Logic   CF . bit, bit . 1

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


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

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