Computer Architecture project (MIPS simulation)
run the main.py file and supply the proper flags
Flag | Usage |
---|---|
-a |
Assemble an assembly file to binary (defaults to simulation) |
-i |
Supply input file (defaults are 'input.asm' for assembling, 'input.b' for simulating) |
-o |
Supply output file (defaults are 'input.b' for assembling, 'sim_output.txt' for simulating) |
Running without
-a
will run a simulation
- ADD
- SUB
- AND
- OR
- ADDI
- LW
- LH
- SW
- SH
- SLL
- SRL
- NOP
- J
- Beq