Operations:

Format

Syntax:

Operation:

Operands:

Architecture revision

Opcode

1

swap.bhRd

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

Rev1+

010111001100

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.