Question: 8) For these problems, the table holds various binary values for register $t0. Given the value of $t0, you will be asked to evaluate the

 8) For these problems, the table holds various binary values for

8) For these problems, the table holds various binary values for register $t0. Given the value of $t0, 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 $tO contains a value from above and $t1 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 St2, $t0, t1 beq St2, $O, ELSE DONE ELSE: addi $t2, $0, 2 DONE Suppose that register StO 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, $t0, X C. Suppose the program counter (PC) is set to Ox0000 0020 i. Is it possible to use the jump MIPS assembly instruction to set the PC to the address as shown in the data table above? Explain your reasoning 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 ii. 8) For these problems, the table holds various binary values for register $t0. Given the value of $t0, 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 $tO contains a value from above and $t1 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 St2, $t0, t1 beq St2, $O, ELSE DONE ELSE: addi $t2, $0, 2 DONE Suppose that register StO 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, $t0, X C. Suppose the program counter (PC) is set to Ox0000 0020 i. Is it possible to use the jump MIPS assembly instruction to set the PC to the address as shown in the data table above? Explain your reasoning 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!