The syntax for sll and srl is:
sll $s0,$s1,n
(n is an integer, for example sll $s0,$s1,3
)
srl $s0,$s1,n
(n is an integer, for example srl $s0,$s1,3
)
I wonder if I can substitute $n$ for a register.
For instance:
sll $s0,$s1,$s2
I'm sorry, I'm a newbie to MIPS.