Question: Question 5: (20 points) Given that register $s3 contains the value OxF0000013, answer the following questions a. (4 points) What is the binary representation of

Question 5: (20 points) Given that register $s3 contains the value OxF0000013, answer the following questions a. (4 points) What is the binary representation of the instruction lw $s3, 0(St1)? b. (4 points) Assuming an unsigned representation, what is the decimal value of $t1 c. (4 points) Assuming a signed representation, what is the decimal value of $t1 after d. (4 points) Assuming a signed representation, what is the decimal value of $t1 after e. (4 points) Assuming a signed representation, what is the decimal value of $t1 after after executing the instruction sll $t1, $s3, 2? executing the instruction sll1 $t1, $s3, 2? executing the instruction srl $t1, $s3, 2? executing the instruction sra $t1, $s3, 2? Question 6: (15 points) Each null-terminated string in the figure above corresponds to an Alberta license plate number. All license plates have the same number of characters. The first string in the a. (5 points) Write the shortest sequence of MIPS instructions that places the address b. (5 points) Assume that register $a1 contains an unsigned integer value k. Write the list corresponds to plates [0] of the first character of plates [3] into register $a0 shortest sequence of MIPS instructions that places the address of the first character of plates [k] in SvO c. (5 points) Write the shortest sequence of MIPS instructions that loads the third character of plates [5] (this is the "W" character) into $to
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
