SLLV rd, rs, rt |
nanoMIPS |
Shift Left Logical Variable |
Shift Left Logical Variable. Left shift word value in register $rs by shift amount in register$rt, and place the result in register $rd.
nanoMIPS
001000 |
rt |
rs |
rd |
x |
0000010 |
000 |
6 |
5 |
5 |
5 |
1 |
7 |
3 |
shift = GPR[rt] & 0x1f result = GPR[rs] << shift GPR[rd] = sign_extend(result, from_nbits=32)
None.