SPRUIE9D May 2017 – May 2024 DRA74P , DRA75P , DRA76P , DRA77P
Negation
NEG src2, dst
Functional unit = L
16 bit
| 15 | 13 | 12 | 10 | 9 | 0 |
| dst | src2 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | ||||
| 3 | 3 | opcode | |||||||||||||
src2 is subtracted from zero and the result is stored in dst.
CSR[2]EQ = (dst == 0)
dst = 0 - src2