Question: Question: I am trying to raise in this code can someone check and fix please. Example output could be 2^3=8 main: jal x1,power addi x10,x0,1
Question:
I am trying to raise
in this code can someone check and fix please. Example output could be 2^3=8
main: jal x1,power addi x10,x0,1 ecall addi x10,x0,10 ecall power: li t0, 0 addi t1, a0, 0 loop: bge t0, a1, end mul a0, a0, t1 addi t0, t0, 0 jal x0, loop end: jr ra
You can compile it on: http://www.kvakil.me/venus/
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
