Write a MIPS assembly language program that will cover the following steps:
Prompt the user to enter a first integer named int1
Prompt the user to enter a second integer named int2
Compute int1+int2-240 // don't use subi
Print the value of the result together with a message
Repeat
The program should enforce the rule that the two entered integers must be in the interval [50, 500]. If the entered integer is not in the specified range, prompt again the user to enter an integer in the specified range.
Create a case that will allow the user to exit the program.
*Im having a difficult time writing this code. I usually write code in java and c++ hence me asking this question. Thanks!*