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>movzx move with zero-extend (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]
MOVZX             Move With Zero-Extend (386)        Flags: O D I T S Z A P C

MOVZX destination, source

           Logic:        destination .  zero extend(source)

     This instruction copies a source operand to a destination operand and
     zero-extends it. This is particularly useful to preserve signs when
     copying from 8-bit register to a 16-bit one, or a 16-bit register to a
     32-bit one.

     MOVZX is only valid in the 386.

  --------------------------------------------------------------------------
   Operands                   Clocks   Transfers  Bytes  Example
   MOVZX register, register   3 (386)   1 or 2      3    MOVZX EAX,CX
   MOVZX register, memory     6 (386)   1 or 2      5    MOVZX EAX,MEMLOC
  --------------------------------------------------------------------------

See Also: MOVSX

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