Search for question
Question

1. Write an ARM program that implements the following functions. Your code should include two subroutines (mult and sumSquare with a nested call to mult). Test the program by passing 10 to x and 5 to y. The result of sumSquare should be stored in register R0. Take a screenshot of the content in RO after the program executes. (10 pt) int sumSquare (int x, int y) { return mult (x, x) + y;B } int mult (int x) { return x * x; }

Fig: 1