risc-v Definition srl (RISC-V) Performs a logical right shift on the value in register b by the shift amount held in the lower 5 bits of register c, inserting zeros into the vacated upper bits, and stores the result in register a. srl a, b, c Equivalent C code: a = (unsigned int)b >> (c & 0x1F)