Question: Write a MIPS assembly language program which uses an array of integers with 10 elements. The program prompts the user to input an integer to
Write a MIPS assembly language program which uses an array of integers with 10 elements. The program prompts the user to input an integer to store in each element of the array. After the program reads in the 10 integers, it loads the integer from each element and prints it out on a separate line. In addition to printing each integer, the program computes the sum of the 10 integers in the array. Also, the program counts the number of negative numbers in the array. The program prints the sum on the line after printing the last integer of the array. The program prints the number of negative numbers in the array on the line after printing the sum.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
