Virtual machine for the LC3 architecture. LC3_VM is a simple virtual machine written following this tutorial to get a better understanding how virtual machines work.
I added tests for all instructions. Each instruction has a test written in LC3 Assembly which is converted to an .obj file using lc3as provided by http://highered.mheducation.com/sites/0072467509/student_view0/lc-3_simulator.html.
This project will also be used to test my LC3_ASM.
For building the lc3_vm:
make
lc3_vm program is located in the bin dir.
For running the lc3_vm:
./lc3_vm assembly_examples/obj/2048.obj
For building tests:
make test
run_tests program is located in root dir.
For running the tests:
./run_tests tests/add/add.obj