Solution Found!
Rewrite the loop from Exercise 2.29 to reduce the number
Chapter 2, Problem 2.30(choose chapter or problem)
QUESTION:
Rewrite the loop from Exercise 2.29 to reduce the number of MIPS instructions executed.
Questions & Answers
QUESTION:
Rewrite the loop from Exercise 2.29 to reduce the number of MIPS instructions executed.
ANSWER:Step 1 of 2
To reduce the number of MIPS instruction, instead of counting iterations in a separate register, we can use the pointer value as the loop exit condition.