Question: Answer the question with assembly code, if statement is not allowed Your task today is to write a simple calculator. The calculator will read 2

Answer the question with assembly code, if statement is not allowed
Your task today is to write a simple calculator. The calculator will read 2 mathematical equations (only addition and subtraction) and display the results. The numbers your calculator works with are 0,2,3,4. It does NOT work with negative numbers don't worry about that. Your program should be able to read the following input (Each symbol is ONE bytes). Make sure you test your code against the sample input below. Each row has 2 formulas: 1+2-1 2+2-3 The results of the mathematical equation should be less than 10. So your input should always yield a result less than 10. Do not test your code for anything that produces results more than 9. **The input will always consist of 2 rows, NO space between the rows, the first is add, second is subtract, third is add Using the above input, your program should display: 2 1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
