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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started