Operations:

Format

Syntax:

Operation:

Operands:

Architecture revision

Opcode

1

swap.h Rd

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

Rev1+

010111001010

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.