Keenan Turley keenan.turley@knights.ucf.edu and Alexander Desmond alexdesmond@knights.ucf.edu
This project is an implementation of the PM/0 machine in C.
The specifications of the machine are provided in docs/specification.pdf
.
To compile or run, first navigate to directory src:
cd src
Using GNU make:
make
Using gcc:
gcc -o pm0vm main.c pm0.c loader.c debug.c
Using shell
./pm0vm (file-path)
Where file-path
is the path to the source file you want to load into the virtual machine.
Note: Output is printed to stdout, which should be redirected if a test case output file is desired.
The requested test case output is located in pm0vm/tests/sample.out
.