Format |
Syntax: |
Operation: |
Operands: |
Architecture revision |
Opcode | ||||
1 |
neg Rd |
Rd = 0 -Rd; |
d ∈ {0, 1, …, 15} |
Rev1+ |
|
Perform a two's complement of specified register.
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] |