This lab simulates a basic MIPS processor.
- Download the mips processor file and the example instructions files.
- Run the mips processor program.
| Commands | Function |
|---|---|
| regs | Dump all registers in hexadecimal |
| reg | Dump the given register in both hexadecimal and decimal |
| next | Run the next instruction and stop |
| run | Run the file until there are no more instructions left to run |
| load | Load a new binary program given by |
| quit | Quit the program |
The program counter (PC), which points to the next instruction to be called, is also included at the bottom.