subiu
Subtract immediate unsigned (no overflow trap)
Subtracts an immediate from the second register and stores the difference in the first, wrapping on overflow instead of trapping.
Forms
Operands
$t1- Any general-purpose register,
$0to$31, using its numeric or named spelling, such as$8or$t0($zerois$0;$rais$31). $t2- A general-purpose register. It may be the same register as
$t1. imm32- A 32-bit immediate,
-2147483648to4294967295. A pseudo-instruction that takes one uses the register$atas a temporary, so$atloses the value it held.
# Subtract immediate 3 from 7. Inspect $t2: 4.
li $t0, 7
subiu $t2, $t0, 3