Question: why the answer should be: lw $3 [$2 + 10] lw $4 [$1] add [$3 + $4] = $5 sw $5, [$1] but not: add
![why the answer should be: lw $3 [$2 + 10] lw](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f32a13c2d31_05166f32a1332c0e.jpg)
why the answer should be:
lw $3 [$2 + 10]
lw $4 [$1]
add [$3 + $4] = $5
sw $5, [$1]
but not:
add $t0, $2, 10
add $1, $1, $t0
why first answer is correct but the second is wrong?
3. (10 points) A complex instruction: Addm $1, $2, 10 memo memory 0 What are the equivalent memory[$2-10, CPI 7 complex instruction? MIPS instructions (assembly language) to perform the above D For MIPS instruction, loadstore CPI 2, ALUCPI 1, which CPU is better
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
