Question: Write an ARMv8 assembly program to find the sum, mean, and range of n numbers. Assume the value of n is stored in register X19
Write an ARMv8 assembly program to find the sum, mean, and range of n numbers. Assume the value of n is stored in register X19 and n unsorted 64-bit values are stored as constant values in the data section of the assembly code. Assume the value of n is always a non-zero positive number. Store the sum in register X20, mean in register X21, range in register X22. Assume all the values and variables are 64-bits. Comment your assembly code. (30 Points)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
