Skip to content

EXTSQ

Operation

Sign-extends the selected source width to a quadword destination.

Assembler Syntax

EXTSQ.B Rn(s), Rn(d)

EXTSQ.W Rn(s), Rn(d)

EXTSQ.L Rn(s), Rn(d)

EXTSQ.B Rn(s), <ea>(e)

EXTSQ.B <ea>(e), Rn(d)

EXTSQ.W Rn(s), <ea>(e)

EXTSQ.W <ea>(e), Rn(d)

EXTSQ.L Rn(s), <ea>(e)

EXTSQ.L <ea>(e), Rn(d)

EXTSQ.B <ea>(s), <ea>(d)

EXTSQ.W <ea>(s), <ea>(d)

EXTSQ.L <ea>(s), <ea>(d)

Privilege

Unprivileged

Repeat eligibility

REP eligible; REPcc observes dst

Sign-extends the source operand from the instruction size to quad size. The low source-size bytes are copied into the result, and the remaining high result bits are filled with the source sign bit. An Rn destination receives the complete 64-bit result; an EA destination stores all eight result bytes.

2.75in

Encodings

EXTSQ.B Rn(s), Rn(d)

Format: Instruction format for EXTSQ.B Rn(s), Rn(d)

Format: Instruction format for EXTSQ.B Rn(s), Rn(d)

2.75in EXTSQ.W Rn(s), Rn(d)

Format: Instruction format for EXTSQ.W Rn(s), Rn(d)

Format: Instruction format for EXTSQ.W Rn(s), Rn(d)

2.75in EXTSQ.L Rn(s), Rn(d)

Format: Instruction format for EXTSQ.L Rn(s), Rn(d)

Format: Instruction format for EXTSQ.L Rn(s), Rn(d)

2.75in EXTSQ.B Rn(s), <ea>(e)

Format: Instruction format for EXTSQ.B Rn(s), <ea>(e)

Format: Instruction format for EXTSQ.B Rn(s), <ea>(e)

dstexcluded: immediate [invalid_destination]

2.75in EXTSQ.B <ea>(e), Rn(d)

Format: Instruction format for EXTSQ.B <ea>(e), Rn(d)

Format: Instruction format for EXTSQ.B <ea>(e), Rn(d)

2.75in EXTSQ.W Rn(s), <ea>(e)

Format: Instruction format for EXTSQ.W Rn(s), <ea>(e)

Format: Instruction format for EXTSQ.W Rn(s), <ea>(e)

dstexcluded: immediate [invalid_destination]

2.75in EXTSQ.W <ea>(e), Rn(d)

Format: Instruction format for EXTSQ.W <ea>(e), Rn(d)

Format: Instruction format for EXTSQ.W <ea>(e), Rn(d)

2.75in EXTSQ.L Rn(s), <ea>(e)

Format: Instruction format for EXTSQ.L Rn(s), <ea>(e)

Format: Instruction format for EXTSQ.L Rn(s), <ea>(e)

dstexcluded: immediate [invalid_destination]

2.75in EXTSQ.L <ea>(e), Rn(d)

Format: Instruction format for EXTSQ.L <ea>(e), Rn(d)

Format: Instruction format for EXTSQ.L <ea>(e), Rn(d)

2.75in EXTSQ.B <ea>(s), <ea>(d)

Format: Instruction format for EXTSQ.B <ea>(s), <ea>(d)

Format: Instruction format for EXTSQ.B <ea>(s), <ea>(d)

dstexcluded: immediate [invalid_destination]

2.75in EXTSQ.W <ea>(s), <ea>(d)

Format: Instruction format for EXTSQ.W <ea>(s), <ea>(d)

Format: Instruction format for EXTSQ.W <ea>(s), <ea>(d)

dstexcluded: immediate [invalid_destination]

2.75in EXTSQ.L <ea>(s), <ea>(d)

Format: Instruction format for EXTSQ.L <ea>(s), <ea>(d)

Format: Instruction format for EXTSQ.L <ea>(s), <ea>(d)

dstexcluded: immediate [invalid_destination]