To run on MARS:
- Open any of the project's source files.
- Enable the setting "Assemble all files in directory".
- Enable the setting "Initialize Program Counter to global 'main' if defined".
- Open the Bitmap Display tool.
- Configure the tool:
Unit Width in Pixels: 2. Unit Height in Pixels: 2.
- Click on "Connect to MIPS".
- Assemble and run.
Some examples of polynomials:
x
x²
4x³ - 1x
x + 2x² + 3x³ + 4x⁴
Caret sequences can be used instead of superscript integers. For example, 2x^4 + x^3 is the same as 2x⁴ + x³.
Here's a demo.