Logically shift the contents of a register right by an amount specified in an immediate field.
Format
This is a SHI format instrucion.
31 - 26
25 - 21
20 - 16
15 - 0
111010
dest
src1
000 0000 0000 5-bit Immediate
Functional Description
The srli instruction performs a logical right shift of the contents of register src1 and stores the shifted value in register dest. The shift amount is taken from the 5-bit immediate field. The value 0 is shifted in from the left to replace lost bits.