Question: QUESTION 8 You are hacking into a remote MIPS CPU and pause the machine. At the moment, registers $ 1 - $ 1 0 all

QUESTION 8
You are hacking into a remote MIPS CPU and pause the machine. At the moment, registers $1- $10 all have value 7,$11-$20 all have value -1, all the other registers have value 0, and all the data memory have value -5.
From the instruction memory, all you can know are the following: at address 000000020 is 00120602a, at 000000024 is 015800003, at 000000028 is 0ac0a2004. Now, PC =000000020, and you allowed the
program to execute... Write out what these instructions are, and explain the expected behavior. Select all the correct options from below and explain why each is correct or not.
The instruction at 000000020 will be executed and change the value of $12.
The instruction at 000000020 will be executed, but will not change the value of any register.
The instruction at 000000020 will change PC to 000000028.
The instruction at 000000024 will change PC to 000000028.
The instruction at 000000024 will change PC to 000000034.
The instruction at 000000024 will be executed and will change the value of $11.
The instruction at 000000028 will be executed and will change the value of $10.
The instruction at 000000028 will not be executed.
The instruction at 000000028 will be executed and update PC to 00000002c.
None of the above is correct.
Please explain all and show work
QUESTION 8 You are hacking into a remote MIPS CPU

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 Programming Questions!