/pm0vm

PM/0 Virtual Machine - UCF COP3402 Project

Primary LanguageCGNU General Public License v3.0GPL-3.0

PM/0 Virtual Machine - UCF COP3402 Project

Authors

Keenan Turley keenan.turley@knights.ucf.edu and Alexander Desmond alexdesmond@knights.ucf.edu

Introduction

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

Compiling

Using GNU make:

make

Using gcc:

gcc -o pm0vm main.c pm0.c loader.c debug.c

Running

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.

To the TA

The requested test case output is located in pm0vm/tests/sample.out.