sltu

Places the value 1 in register `xd` if register `xs1` is less than the value in register `xs2`, where both sources are treated as unsigned numbers, else 0 is written to `xd`.

Synopsis

sltu xd, xs1, xs2

Encoding

Type: R

0671112141519202425310110011xd011xs1xs20000000
funct7: 0000000
funct3: 011
opcode: 0110011

RISC-V Instruction Encoder/Decoder

open sltu in rvcodecjs

Availability