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

2. [Instruction Set Architecture/Addressing Mode] We want to update the value of

ID: 3743484 • Letter: 2

Question

2. [Instruction Set Architecture/Addressing Mode] We want to update the value of register St0 to "OxFF". Fill in the blanks to demonstrate the use of Immediate, Register, and Indexed addressing modes. Write your answer using MIPS instruction set with the appropriate registers for each one. The registers and Memory are initialized as follows: tO $t1 t2 t3 t4 RegisterValue 0x00 0x00 0x04 0x06 0xFF Memory Address Value 4 5 6 0x23 OxBA 0xFF 0xFE St0, a) Immediate Addressing b) Register Addressing c) Indexed Addressing: St0, St0,

Explanation / Answer

Immediate addressing

li $t0, 0xFF

Register addressing

Move $t0, $t4

Indexed addressing

Lw. $t0, 6

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