Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

The following fig shows memory with addresses and instructions, the PC and the I

ID: 3679221 • Letter: T

Question

The following fig shows memory with addresses and instructions, the PC and the IR.

Answer the following questions about this diagram. Be sure to show the hexadecimal answers as 8 hexadecimal digits plus the leading 0x.

Questions:

The address of the first instruction to execute is --------------.

What is the first instruction placed into the IR? Give the entire instruction. --------------

After the first instruction is fetched, the PC has what value? ----------------------

When the PC is 0x00400008, what instruction is placed into the IR? Give the entire instruction. -------------------

After the second fetch, what is the value in the PC? -----------------------

When the sub instruction is fetched, what is the new value of the PC? --------------------

The IR is ---------------------- bits wide.

The IR holds an instruction while the PC holds a(n) --------------------------

Explanation / Answer

1)0x00400000

2)ori $s1,$0,5

3)0x00400004

4)sub $s0,$s0,$s1

5)0x00400008

6)0x00400012

7)32-bit

8)Instruction in a(n) location in memory i.e mem[a(n)]

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote