README

mips-assembler

A toy MIPS assembler written with Lark.

It supports the most basic of basics: reading a list of instructions and outputting a text file of assembled bytes that can be loaded into the ROM block in logisim-evolution.

For example, given an input file:

li r4, 84

The output file will be:

v3.0 hex words addressed
000: 24 04 00 54  # li r4, 84

Supported instructions can be found in UWaterloo's MIPS reference sheet.

The registers are simply r0 to r31.