This interpreter reads in an arbitrary programs, loads it into alloted memory, and executes (interprets) that program.
Author: Willie Stevenson
This project containes the following files:
-
This README file
- Used to explain the contents of this small package.
-
interpreter.h
- contains non-changing names assocaited with the vm's functions
-
test-programs/*.txt
- instruction test programs/files
-
Makefile
- revised make file (file credited to Mark Royer)
-
main.c
- the runner file
-
util.*
- vm helper functions
-
vm.*
- the heart of the vm
- Run
$ make
at the terminal in the project root directory. This generates the project executable. Note, that it may be necessary to run$ make clean
if the project has already compiled executables present and you wish to recompile the project yourself. - Run the executable.
- For example,
$ ./Project.o
- For example,
Better documentation to come.