主题:[讨论]帮我看看mips作业
Use PCSpim to write a simple MIPS program implement following steps.
Step 1. accept user input as this format: X O Y, where X and Y are integers in [1,99] and O can be +, -, *, /.
Step 2. Check user input, if the input is valid then compute the result of X O Y and print it on screen, otherwise ask user to input again
Step 3. Ask user whether to continue or quit
Step 4. if user input “y” or “Y” then continue from Step 1 or quit in all other cases.
帮我看看阿,我一点头绪都没有,或者水有着方面的资料阿?
谢谢!
Step 1. accept user input as this format: X O Y, where X and Y are integers in [1,99] and O can be +, -, *, /.
Step 2. Check user input, if the input is valid then compute the result of X O Y and print it on screen, otherwise ask user to input again
Step 3. Ask user whether to continue or quit
Step 4. if user input “y” or “Y” then continue from Step 1 or quit in all other cases.
帮我看看阿,我一点头绪都没有,或者水有着方面的资料阿?
谢谢!