————————-

please comment the code

ΣΗ-0(n2 9. Summation of a series is given by the equation y = 1). Assume variable a is a non-zero positive integer and is stored in X19. Store the computed output y in X20. Write a LEGV8 assembly code to compute y using recursion. Use the stack to store all the temp and saved registers used in the function and comment your code. [Hint: Please write the C code for the above problem using recursion and try to convert it to assembly code] (15 Points) Show transcribed image text ΣΗ-0(n2 9. Summation of a series is given by the equation y = 1). Assume variable a is a non-zero positive integer and is stored in X19. Store the computed output y in X20. Write a LEGV8 assembly code to compute y using recursion. Use the stack to store all the temp and saved registers used in the function and comment your code. [Hint: Please write the C code for the above problem using recursion and try to convert it to assembly code] (15 Points)

## Expert Answer

Answer to ΣΗ-0(n2 9. Summation of a series is given by the equation y = 1). Assume variable a is a non-zero positive integer and…