Assembly Language Help (alang.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
MOVSX/MOVZX Instructions
 Detail Key                               Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Title:    Move with Sign- or Zero-Extend        Flags: O D I T S Z A P C
            80386/486 Only                               ═════════════════
                                                              -none-
  Syntax:   MOVSX dest,src
            MOVZX dest,src
 
  See also: .386, MOV, CBW
 
  Description:
 
     MOVSX moves and sign-extends the value of the source operand to
     the destination register. Use MOVSX to copy a signed 8-bit or
     16-bit source operand to a larger 16-bit or 32-bit destination
     register.
 
     MOVZX moves and zero-extends the value of the source operand to
     the destination register. Use MOVZX to copy an unsigned 8-bit
     or 16-bit source operand to a larger 16-bit or 32-bit destination
     register.
                                    -♦-