Assembly Language Programming

Each number is entered on a separate line. The
program then computes and displays the sum and average each on a
separate line.

Requirements:

Use
the convention or programming template use in this course.

Use
MIPS conventions to write:

A
function that creates the array of numbers. This function prompts
the user to enter the numbers, gets the numbers, and stores them in
an array. The array and its size should be initialized in the data
declaration section of your program before the main function;

A
function that uses the array to compute and return the sum; and

A
function that receives the sum and the size of the array then
computes the average.

The
main function displays the sum and average.