Operations:

Format

Syntax:

Operation:

Operands:

Architecture revision

Opcode

1

swap.b Rd

Temp  = Rd;
Rd[31:24] = Temp[7:0];
Rd[23:16] = Temp[15:8];
Rd[15:8] = Temp[23:16];
Rd[7:0] = Temp[31:24];
d ∈ {0, 1, …, 15}

Rev1+

010111001011

Rd

12

4

Description

Swaps different parts of a register.

Status Flags:

Q:

Not affected.

V:

Not affected.

N:

Not affected.

Z:

Not affected.

C:

Not affected.