MOVZX           Move With Zero-Extend                Flags: Not altered

MOVZX destination,source CPU: 386+

Logic destination ← zero-extend(source)

MOVZX extends an 8-bit value to a 16-bit value, or an 8-bit or
16-bit value to a 32-bit value by padding the high-order with
zeros.

Example: movzx eax,al


Opcode Format
0F B6 /r MOVZX r16,r/m8
0F B6 /r MOVZX r32,r/m8
0F B7 /r MOVZX r32,r/m16


Length and timing
Operands Bytes 8088 186 286 386 486 Pentium
reg, reg 3 3 3 3 NP
reg, mem 3+d(0,1,2,4) 6 3 3 NP