Question: 1. Write the machine code for the following instructions in hexadecimal. Show your work. (a) sub $s1 $t4 $s5 (b) addi Ss7 $80-12 (c) sll
1. Write the machine code for the following instructions in hexadecimal. Show your work. (a) sub $s1 $t4 $s5 (b) addi Ss7 $80-12 (c) sll $s1 $s2, 2 (d) lw $to, Ox24($+7) 2. State the values of $s0 and $sl after the code is run. Show your work. addi $so, $0, 8 addi $81, $0,1 sll $81, $81,3 bne $50, $81, target addi $81, $$1,1 sub $81, $s1, $50 target: sub $81, $s1, $so
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
