movsxw

386 and later

Move Data with Sign or Zero Extend

movsxw eax, ax | movsxw reg16, r/m16 | movsxw reg32, r/m16 | movsxw reg64, r/m16

MOVSX sign-extends its source (second) operand to the length of its destination (first) operand, and copies the result into the destination operand. MOVZX does the same, but zero-extends rather than sign-extending.

Loading...

Forms

Every form of movsxw the assembler accepts.

FormSinceNotes
movsxw eax, ax386
movsxw reg16, r/m16386
movsxw reg32, r/m16386
movsxw reg64, r/m16x86-64long