Operations:

Format

Syntax:

Operation:

Operands:

Architecture revision

Opcode

1

abs Rd

Rd = |Rd|;
d ∈ {0, 1, …, 15}

Rev1+

010111000100

Rd

12

4

Description

The absolute value of the contents to the register specified is written back to the register. If the initial value equals the maximum negative value (0x80000000), the result will equal the initial value.

Status Flags:

Q:

Not affected

V:

Not affected

N:

Not affected

Z:

(RES[31:0] == 0)

C:

Not affected