movzx

8086 and later

Move with Zero-Extend

movzx reg16, r/m8 | movzx reg32, r/m8 | movzx reg64, r/m8 | movzx reg16, r/m16 | movzx reg32, r/m16 | movzx reg64, r/m16 | movzx reg16, r/m32 | movzx reg32, r/m32 | movzx reg64, r/m32

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 movzx the assembler accepts.

FormSinceNotes
movzx reg16, r/m8386
movzx reg32, r/m8386
movzx reg64, r/m8x86-64long
movzx reg16, r/m16386
movzx reg32, r/m16386
movzx reg64, r/m16x86-64long
movzx reg16, r/m328086
movzx reg32, r/m32386
movzx reg64, r/m32x86-64long