neg

Operands

reg, reg

NEGate : Set t1 to negation of t2

Variants

  • NEGate : Set t1 to negation of t2 neg t1,t2
.text
li t0, 13
# t0=13; neg writes -13 (0xFFFFFFF3) to t2.
neg t2, t0