Syntax
sll $s_reg, $d_reg
sll $d_reg/$s_reg
sll val_immed, $d_reg
sll $s_reg1, $s_reg2, $d_reg
sll $d_reg/$s_reg1, $s_reg2
sll $s_reg1, val_immed, $d_reg
sll $d_reg/$s_reg1, val_immed
Description
Shift Left Logical shifts the contents of a register left (toward the sign bit) and inserts zeros in the vacated bit positions. The contents of $s_reg1 specifies the value to shift, and the contents of $s_reg2 or the immediate value specifies the number of bits to shift. If $s_reg2 or the immediate value is greater than 63 or less than zero, $s_reg1 shifts by the result of the following AND operation: $s_reg2 AND 63.