Question: Kjell Chapter 13, Exercise 5. Let register $8 be x. Write a program that computes 13x. Leave the result in register $10. Initialize x to
Kjell Chapter 13, Exercise 5. Let register $8 be x. Write a program that computes 13x. Leave the result in register $10. Initialize x to 1 for debugging. Then try some other positive values.
Extend your program so that it also computes -13x and leaves the result in register $11 (This will take one additional instruction.) Now initialize x to -1. Look at your result for 13x. Is it correct?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
