remuw

Operands

reg, reg, reg

Remainder: set t1 to the remainder of t2/t3 using unsigned division limited to 32 bits (64bit)

Variants

  • Remainder: set t1 to the remainder of t2/t3 using unsigned division limited to 32 bits (64bit) remuw t1,t2,t3

This example runs on RV64.

.text
li t0, 18
li t1, 5
# t0=18, t1=5; remuw writes 3 to t2.
remuw t2, t0, t1