Question: only need part b) 8) For these problems, the table holds various binary values for register StO. Given the value of tO, you will be

only need part b)
8) For these problems, the table holds various binary values for register StO. Given the value of tO, you will be asked to evaluate the outcome of different branches. 10 0100 1001 0010 0100 1001 0010 0100 101 1111 1011 1110 0100 0000 0000 0000 Suppose that register StO contains a value from above and St1 has the value 0011 1111 1111 1000 0000 0000 0000 0000. Note the result of executing these instructions on particular registers. What is the value of $t2 after the following instructions? Explain. a. slt $t2, Sto, $t1 beq $t2, $0, ELSE j DONE ELSE: addi $t2, $0, 2 DONE Suppose that register St0 contains a value from the table above and is compared against the value X, as used in the MIPS instruction below. Note the format of the slti instruction. For what values of X, if any, will $t2 be equal to 1? Explain. b. slti St2, Sto, X Suppose the program counter (PC) is set to 0x0000 0020 i. Is it possible to use the jump MIPS assembly instruction to set the PC to the address as c. shown in the data table above? Explain your reasoning. ii. Is it possible to use the branch-on-equal MIPS assembly instruction to set the PC to the address as shown in the data table above? Explain your reasoning
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
