Question: Write a program in ARM assembly language (which can be executed on ARMSim simulator) to calculate sum and mean of a series of integer numbers.
Write a program in ARM assembly language (which can be executed on ARMSim simulator) to calculate sum and mean of a series of integer numbers. Series of integer numbers are stored in a file named input.txt. Input file contains 0 or more integer numbers (see the sample file on Moodle). Your program should open the file for reading, read each of the numbers, calculate sum and mean. It should display the result using standard output. You may use the following subroutine to perform the division.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
