SPRUI30H November 2015 – May 2024 DRA745 , DRA746 , DRA750 , DRA756
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