Remainder: set t1 to the remainder of t2/t3 using unsigned division limited to 32 bits (64bit)
remuw
Operands
reg, reg, regVariants
- 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