$a0and the multiplier is in register
$a1. The least significant bits of the product will be left in
$v0. The most significant bits and any overflow are ignored. Note that
srlis a shift-immediate instruction, while
shlis not immediate.
li $t1, -1 loop: addi $t1, $t1, 1 srl $a1, $a1, 1 # Shift right by 1 bne $a1, $zero, loop shl $_____, $_____, $_____ # Shift left non-immediate