add

Operands

$reg, $reg, [$reg / imm]

Variants

  • Add (signed, overflow trap) : Sets $t1 = $t2 + $t3 using signed 32-bit arithmetic. Raises an overflow exception if the true result does not fit in 32 bits. Use 'addu' when overflow should be silently ignored. add $t1,$t2,$t3
  • ADDition : set $t1 to ($t2 plus 16-bit immediate) add $t1,$t2,-100
  • ADDition : set $t1 to ($t2 plus 32-bit immediate) add $t1,$t2,100000

Add (signed, overflow trap) : Sets $t1 = $t2 + $t3 using signed 32-bit arithmetic. Raises an overflow exception if the true result does not fit in 32 bits. Use 'addu' when overflow should be silently ignored.

Loading...