Write a in SPARC assembly programming to initialize an array
Write a in SPARC assembly programming to initialize an array int ary[6] = {2, 5, -3, -4, 0, 6} and then to find the largest element by searching the array(i.e. use a loop). Note:-Run your program using gdb to verify array values at each array subscript.-Do not optimize your code (i.e. do not remove nops)
Solution
Output After Execution :-
ARR 2,5,-3,-4,0,6
LEN 6
LARGE 6
![Write a in SPARC assembly programming to initialize an array int ary[6] = {2, 5, -3, -4, 0, 6} and then to find the largest element by searching the array(i.e. Write a in SPARC assembly programming to initialize an array int ary[6] = {2, 5, -3, -4, 0, 6} and then to find the largest element by searching the array(i.e.](/WebImages/25/write-a-in-sparc-assembly-programming-to-initialize-an-array-1066194-1761557740-0.webp)