- Ply 3.4
This transformer now can only understand the instruction spec defined in here.
However, the final goal is to support a subset of the MIPS ASM.
In recent commits, a simulator is added (though only a subset of the
instruction set is implemented), which is able to run the sample.asm
program correctly.
sample.asm
is a trivial program that calculates the product of two number,
which are stored in R0
and R1
.
The asm parser consumes proper ASM programs and generates ASTs according to the programs provided. The parser uses Ply to parse ASM programs.
The machine code parser creates ASTs of machine codes by using some sort of state machine currently, may change to Ply parsing in the future.
Support MIPS assembly language.
lgpl
contact: chsc4698@gmail.com