divu

Operands

$reg, $reg, [$reg/int16/int32]

Variants

  • Division unsigned without overflow : Divide unsigned $t1 by $t2 then set LO to quotient and HI to remainder (use mfhi to access HI, mflo to access LO) divu $t1,$t2
  • DIVision Unsigned : Set $t1 to ($t2 divided by $t3, unsigned integer division) divu $t1,$t2,$t3
  • DIVision Unsigned : Set $t1 to ($t2 divided by 16-bit immediate, unsigned integer division) divu $t1,$t2,-100
  • DIVision Unsigned : Set $t1 to ($t2 divided by 32-bit immediate, unsigned integer division) divu $t1,$t2,100000

Division unsigned without overflow : Divide unsigned $t1 by $t2 then set LO to quotient and HI to remainder (use mfhi to access HI, mflo to access LO)

Loading...