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.
movzxd
8086 and laterMove Data with Sign or Zero Extend
movzxd reg16, r/m32 | movzxd reg32, r/m32 | movzxd reg64, r/m32Loading...
Forms
Every form of movzxd the assembler accepts.
| Form | Since | Notes |
|---|---|---|
| movzxd reg16, r/m32 | 8086 | |
| movzxd reg32, r/m32 | 386 | |
| movzxd reg64, r/m32 | x86-64 | long |