remuw

Calculate the remainder of unsigned division of the 32-bit values in xs1 by xs2, and store the sign-extended result in xd. If the value in xs2 is zero, xd gets the sign-extended value in xs1.

Synopsis

remuw xd, xs1, xs2

Encoding

Type: R

0671112141519202425310111011xd111xs1xs20000001
funct7: 0000001
funct3: 111
opcode: 0111011

RISC-V Instruction Encoder/Decoder

open remuw in rvcodecjs

Availability