Question: Write a MIPS Assembly program that prompts the user to enter two integer values each on a separate line then computes and displays the sum

Write a MIPS Assembly program that prompts the user to enter two integer values each on a separate line 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 computes and returns the sum and another function that receives and total number of integers then computes the average. - The main function prompts the user for the two inputs and displays the sum and average.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!