Answered step by step
Verified Expert Solution
Question
1 Approved Answer
04h SRL 08h ADDIU och ADDIU 10h SUBU 14h ADDIU 18h ADDU 1ch SRL 20h AND 24h OR 28h ADDU 2ch SUBU $5, $5, 20
04h SRL 08h ADDIU och ADDIU 10h SUBU 14h ADDIU 18h ADDU 1ch SRL 20h AND 24h OR 28h ADDU 2ch SUBU $5, $5, 20 $6, $0, OOBh $7, $0, 0014h $4, $7, $6 $1, $0, 0014h $3, $6, $0 $6, $6,2 $2, $7, $4 $3, $5, $2 $3, $3, $2 $1, $3, $6 # $5 = ? # $6 =? # $7 = ? # $4 =? # $1 =? # $3 = ? # $6 =? # $2 =? # $3 =? # $3 = ? # $1 = ? Above figure illustrates the assembly code for MIPS program. The initial value at register $5 is 00A00000h. Trace the assembly code, and find out the following (i) The value of register at each instruction line. (11 MARKS) (ii) The final values of registers $1, $2, $3, $4, $5, $6, $7. (7 MARKS)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started