Skip to content

AlexanderJDupree/LC3-VM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LC3-VM

Introduction

LC3-VM is a virtual machine implementation of the Little Computer 3 assembly language. The specification for LC3 can be found here. As of right now, all instructions and trap codes are implemented except RTI and RES.

Getting Started

Download the repo:

git clone https://github.com/AlexanderJDupree/LC3-VM.git

Build and Install

cmake --build build --target install -- -j 6

Run the VM!

./bin/lc3 [image-files] ...

I have provided two images in this repo 2048.obj and rogue.obj you can run either of those games like this:

./bin/lc3 2048.obj

Thanks

License

This project is licensed under the MIT License - see the LICENSE.md file for details