Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- TASM 2.x / MASM 6.x Assembly Language - <b>btc bit test complement (386) 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 Complement (386)          Flags: O D I T S Z A P C
                                                                            *
 BTC destination, source

           Logic:          CF . bit, bit . NOT(bit)

     The Bit Test instructions manipulate individual bits. The source
     operand specifies the bit position in the destination operand. BTC
     copies that bit to the carry flag, and complements it in destination.

  --------------------------------------------------------------------------
   Operands                    Clocks  Transfers  Bytes  Example
   BTC register, immediate8    6  (386)    -        3    BTC AX,3
   BTC memory, immediate8      8  (386)    -        3    BTC MEMLOC,3
   BTC register, register      6  (386)    -        3    BTC AX,BX
   BTC memory, register        13 (386)    -        3    BTC MEMLOC,AX
  --------------------------------------------------------------------------

        Note:          Both memory and register operands can be either
                       16 bits or 32 bits.

See Also: BSF BSR BT BTR BTS

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