Nolimips is a MIPS-based simulator with "infinitely many registers". It consists of an assembler which reads MIPS assembly code, and of a virtual machine which executes the instructions processed by the assembler. For the moment Nolimips does not produce nor execute binary code, but ELF writer and loader are planned.
The main purpose of Nolimips is to help students of compilers courses to evaluate the output from their "high-level language into MIPS assembler code" compilers, before and after register allocation.
Its main features are:
- minimal support of MIPS instruction set,
- built-in system calls (string printing and reading, etc.),
- unlimited registers ($x0, $x1, etc.),
- gdb-like interactive shell.
Nolimips has been initially written by Benoît Perrot <benoit (AT) lrde.epita.fr> and maintained by the Tiger Project team since.
- The Git repository is located at https://gitlab.lrde.epita.fr/tiger/nolimips.git.
- You can browse it online via Gitlab.
- See Nolimips' documentation at https://www.lrde.epita.fr/~tiger/doc/:
- HTML manual: https://www.lrde.epita.fr/~tiger/doc/nolimips.html.
- PDF manual: https://www.lrde.epita.fr/~tiger/doc/nolimips.pdf.
- Use `#!nolimips [OPTIONS]' on first line for specifying options to tests. Coming soon.
- Augment test suite (with mips-gcc generated programs?).
- Improve command parsing.
- Search for possibilities of command and labels completion.
- Generate byte code.
- Look at antlr and other LL-(k) parser generator, to check their usability, portability and improvements.
- Handle exceptions more correctly.
- Emulate virtual memory.
- Look at debug dedicated hardware.
- A very complete MIPS architecture emulator, powerfull enough to run an operating system.
- Debian packages for cross-compiling
- Note that these packages are not required to use Nolimips.
Send any questions or comments to email@example.com.