Skip to content

REVBYTE

Operation

Reverses byte order within the selected operand width and writes the result.

Assembler Syntax

REVBYTE.W Rn(r)

REVBYTE.L Rn(r)

REVBYTE.Q Rn(r)

REVBYTE.W <ea>(e)

REVBYTE.L <ea>(e)

REVBYTE.Q <ea>(e)

Privilege

Unprivileged

Repeat eligibility

REP eligible; REPcc observes dst

Reverses the byte order within the selected operand width and writes the result to the destination.

2.75in

Encodings

REVBYTE.W Rn(r)

Format: Instruction format for REVBYTE.W Rn(r)

Format: Instruction format for REVBYTE.W Rn(r)

2.75in REVBYTE.L Rn(r)

Format: Instruction format for REVBYTE.L Rn(r)

Format: Instruction format for REVBYTE.L Rn(r)

2.75in REVBYTE.Q Rn(r)

Format: Instruction format for REVBYTE.Q Rn(r)

Format: Instruction format for REVBYTE.Q Rn(r)

2.75in REVBYTE.W <ea>(e)

Format: Instruction format for REVBYTE.W <ea>(e)

Format: Instruction format for REVBYTE.W <ea>(e)

dstexcluded: immediate [invalid_destination]

2.75in REVBYTE.L <ea>(e)

Format: Instruction format for REVBYTE.L <ea>(e)

Format: Instruction format for REVBYTE.L <ea>(e)

dstexcluded: immediate [invalid_destination]

2.75in REVBYTE.Q <ea>(e)

Format: Instruction format for REVBYTE.Q <ea>(e)

Format: Instruction format for REVBYTE.Q <ea>(e)

dstexcluded: immediate [invalid_destination]