Question: 3. Let register $8 be x and register $9 be y. Write a program to evaluate: 3x - 5y Leave the result in register
3. Let register $8 be x and register $9 be y. Write a program to evaluate: 3x - 5y Leave the result in register $10. Inspect the register after running the program to check that the program works. Run the program several times, initialize x and y to different values for each run.
Step by Step Solution
3.37 Rating (141 Votes )
There are 3 Steps involved in it
data x word 10 y word 2 msg asciiz z text main load value 3 to t0 li 23 load value 5 to t1 li 35 ... View full answer
Get step-by-step solutions from verified subject matter experts
