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

Find MIPS instruction for PC value. Suppose that the current value of PC is 0x00

ID: 1716142 • Letter: F

Question

Find MIPS instruction for PC value.

Suppose that the current value of PC is 0x00000000. Can we use a single jump instruction to go to PC= 0xl0018926? (if yes, write the jump instruction and show the value of the immediate field in Hex. If not, use a combinations of instructions to do so and show the immediate values in Hex) Suppose that the current value of PC is 0x1FFFF000. Can we use a single branch instruction to go to PC= 0xl0F14924 (if yes, write the branch instruction and show the value of the immediate field in Hex. If not, use a combinations of instructions to do so and show the immediate values in Hex) Suppose that the current value of PC is 0x00000000. Can we use a single branch instruction to go to PC= 0x10514924? (if yes, write the branch instruction and show the value of the immediate field in Hex. If not, use a combinations of instructions to do so and show the immediate values in Hex)

Explanation / Answer

(a):

the jump address range is 0xF8000004 ~ 0x08000003. so in first case it is possible. jr is jump to pc instruction

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