- Copy the Calculator.asm file from this repository.
- Open this file using an IDE, like MARS v.4.5, which is also found within this repository.
- Run the Calculator.asm file
- The program should automatically prompt you to enter an expression (i.e. 5+5), then display what you entered (5+5), the postfix of that expression (5 5 +), and the final result (10).
- Introduction to Computer Organization and Machine-level Programming
- Introduction to Assembly Languages
This also included user-error protection in situations where the user would possibly input something that is invalid, and the system would return “Syntax Error” as a warning for the user.