pip3 install -r requirements.txt
NOTE: some installation will require you to use
pip
instead ofpip3
make build
this build an executable for your platform be it linux, windows or macOS, an executable will be created in dist/ subdirectory, simply run that executable from the terminal with the path to your assembly file as an argument.
./PyMIPS hello.asm
<path to executable> <path to asm file>
These limitations primarily stem from, my laziness and the goal of the project to provide support for a minimal subset of the MIPS Assembly Instruction set, this means that while most instructions are supported and this subset is intended to be Turing complete, all behaviours might not exactly replicate an officially supported assembler or emulator.
foo:
bar:
# This is not supported