Question: Create a MIPS program compatible with QtSpim that asks for user input of x and y and prints the added result. The program must also
Create a MIPS program compatible with QtSpim that asks for user input of x and y and prints the added result. The program must also make sure the user only enters integer values, otherwise it prints out an error message if the input is a letter or symbol (a, b, $, #, etc.) , and the program is restarted.
example:
Enter x value: 1
Enter y value: &
Sorry, only itenger values, try again.
Enter x value 1:
Enter y value: 2
Result is: 3
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
