Engineering homework help
Engineering homework help. Write (and test using DS5) an assembly language program in ARMv8 to find the sum, the largest and the smallest of n non-zero positive integers. Declare data sections to store the n positive values as an array A and a variable to store n. Create a loop to go through the array for finding the (1) sum of the elements of the array, (2) the largest and the smallest numbers (3) the difference between the largest and smallest number. Store sum in register X10, largest and smallest values in X11, X12 respectively; the difference between the largest and smallest number is stored in X13. Test input: n= 6; A=[42, 51, 3, 29, 65, 17]