Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 1.3 KB

README.md

File metadata and controls

18 lines (15 loc) · 1.3 KB

Quickstart Guide

  1. Copy the Calculator.asm file from this repository.
  2. Open this file using an IDE, like MARS v.4.5, which is also found within this repository.
  3. 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).

Core Concept

  • Introduction to Computer Organization and Machine-level Programming
  • Introduction to Assembly Languages

Note:

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.

Preview of MIPS-based Calculator Functionality

Sample of Lines of Code Showing Steps 1 Sample of Lines of Code Showing Steps 2 Sample of Lines of Code Showing Steps 3 Sample of Outputs from MIPS Calculator