Question: Use RIPES.me do not use $ when coding in assembly for this assignemt. Write a program pow . S that prints the string, This program
Use RIPES.me do not use $ when coding in assembly for this assignemt. Write a program pow that prints the string, "This program computes dots actually computes and then prints the result.
For
this program, and will be hardcoded into the assembly, but the resuit will actually be computed.
Similarly to step use the appropriate system calls to print the string, the output number, and to correctly exit with status Setup the code with the appropriate data and text sections.
For computing you should define a function pow that implements the following algorithm.To call your function use the jal instruction. To pass arguments to the function you should use the a and a registers. To return the final answer, you should use the a register.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
