srl

Logical shift the value in `xs1` right by the value in the lower bits of `xs2`, and store the result in `xd`.

Synopsis

srl xd, xs1, xs2

Encoding

Type: R

0671112141519202425310110011xd101xs1xs20000000
funct7: 0000000
funct3: 101
opcode: 0110011

RISC-V Instruction Encoder/Decoder

open srl in rvcodecjs

Availability