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