Question: Write code in MIPS and If you can exchange the move command with add or addi that would be greatly appreciated. IS 231 Lab Loops-Power

Write code in MIPS and If you can exchange the "move" command with "add" or "addi" that would be greatly appreciated.
IS 231 Lab Loops-Power Use assemble language to write power function XY We will give the power function two parameters - the number x, and the power we want to raise it to y. For example, if we gave it the parameters 2 and 3, it would raise 2 to the power of 3, or 2*2*2, giving 8. Both x and y should be positive number and less than 12
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
