Skip to content

feelqah/LC3_VM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LC3_VM

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.

Installation

Usage

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

Contributing

License

CC BY-NC-SA 4.0

About

Virtual machine for the LC3 architecture.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published