Toy vm for student course
- instr.yaml contains ISA description
- instr.py is a helper library for ISA processing
- assembler
- runtime - runtime library
- shrimp - vm application
- shrimpfile - vm executables format library
- tests
mkdir build
cd build
cmake ..
make -j16
- Assembler executable can be found here:
build/assembler/assembler
. To run:
./assembler --in <input (.shr) file name> --out <out (.imp) file name>
- VM executable can be found here:
build/shrimp/shrimp
. To run:
./shrimp --in <input (.imp) file name>
Test .shr sources can be found in tests/e2e
- To run tests:
make tests