EXTSL
Operation
Sign-extends the selected source width to a longword EA destination.
Assembler Syntax
EXTSL.B Rn(s), <ea>(e)
EXTSL.W Rn(s), <ea>(e)
EXTSL.{B|W}(z) <ea>(s), <ea>(d)
Privilege
Unprivileged
Repeat eligibility
REP eligible; REPcc observes dst
Sign-extends the source operand from the instruction size to long size and stores the four-byte result to an EA destination. The low source-size bytes are copied into the result, and the remaining high result bits are filled with the source sign bit. EXTSL has no Rn destination form; use EXTSQ.B or EXTSQ.W for a sign-extended Rn result.
2.75in
Encodings
EXTSL.B Rn(s), <ea>(e)
Format: Instruction format for EXTSL.B Rn(s), <ea>(e)
dst — excluded: immediate [invalid_destination]
2.75in EXTSL.W Rn(s), <ea>(e)
Format: Instruction format for EXTSL.W Rn(s), <ea>(e)
dst — excluded: immediate [invalid_destination]
2.75in EXTSL.{B|W}(z) <ea>(s), <ea>(d)
Format: Instruction format for EXTSL.{B|W}(z) <ea>(s), <ea>(d)
dst — excluded: immediate [invalid_destination]