EXTZW
Operation
Zero-extends a byte source to a word EA destination.
Assembler Syntax
EXTZW.B Rn(s), <ea>(e)
EXTZW.B <ea>(s), <ea>(d)
Privilege
Unprivileged
Repeat eligibility
REP eligible; REPcc observes dst
Zero-extends the source operand from byte size to word size and stores the two-byte result to an EA destination. The low byte of the source is copied into the result, and the remaining high result bits are filled with zero. EXTZW has no Rn destination form; use MOV.B for a zero-extended Rn result.
2.75in
Encodings
EXTZW.B Rn(s), <ea>(e)
Format: Instruction format for EXTZW.B Rn(s), <ea>(e)
dst — excluded: immediate [invalid_destination]
2.75in EXTZW.B <ea>(s), <ea>(d)
Format: Instruction format for EXTZW.B <ea>(s), <ea>(d)
dst — excluded: immediate [invalid_destination]