Operations:

Format

Syntax:

Operation:

Operands:

Architecture revision

Opcode

1

neg Rd

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

Rev1+

010111000011

Rd

12

4

Description

Perform a two's complement of specified register.

Status Flags:

Q:

Not affected

V:

V = Rd[31] AND RES[31]

N:

N = RES[31]

Z:

Z = (RES[31:0] == 0)

C:

C = Rd[31] OR RES[31]