Question: Write, and test using MIPS, an assembly language program that prompts the user for an integer input, accepts such an input, and then repeats, continuing

Write, and test using MIPS, an assembly language program that prompts the user for an integer input, accepts such an input, and then repeats, continuing until the input integer is zero. When zero is input, your program should output the sum of the negative integers that were input and the sum of the positive integers that were input, and then terminate.

Please comment the code and explain what is happening.

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!