Question: Write a program using MIPS assembly language that can will ask for the user to input TWO (2) integer values. The values must be in

Write a program using MIPS assembly language that can will ask for the user to input TWO (2) integer values. The values must be in the range of 1 to 10. If the user input is greater or less than the range, the program will ask the user to input again. Use the first number as the start number. Then, the program will sum up all the number between the first value and then second value. The sample screen of the program is as shown below:

Please input the first value (between 1 10): 12

The value is out of the range, please input again (between 1 10): 1

Please input the second value (between 1 10): 3

The answer is 6

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!