Question: Write a MIPS assembly language program that prompts the user to input 2 integers and then a string of length 1 that must be either
Write a MIPS assembly language program that prompts the user to input 2 integers and then a string of length 1 that must be either +, -, * or /. Depending of the string input, your program should print out the result of the specified operation (+, -, *, or /) when applied onto the two inputs. For example, if the inputs are 6, 4, and -, then your program should print out 2. You do not need to validate the user input.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
