Skip to content
/ lc3-vm Public

LC-3 VM (Little Computer 3 as a Virtual Machine): a VM built by following the tutorial provided by Justin Meiners and Ryan Pendleton for understanding how computers work. Please click on the link below for the original source code.

Notifications You must be signed in to change notification settings

pjnalls/lc3-vm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LC-3 VM

(Little Computer 3 as a Virtual Machine)

a vitural machine (VM) built by following the tutorial provided by Justin Meiners and Ryan Pendleton for understanding how computers work. Please click on the link below for the original source code.

https://www.jmeiners.com/lc3-vm/

Getting Started

  1. Ensure you have the GCC compiler installed on your machine.
$ gcc -v
  1. Ensure Python version 3 is installed on your machine.
$ python -V
  1. Create the executable for the VM:
$ gcc lc3.c -o lc3-vm
  1. Use an LC-3 assembler written in Python to assemble an Assembly program (e.g., 2048.asm).
$ python3 lc3-nasm.py 2048.asm
  1. Run the executable with the machine code object file to test the VM.
$ ./lc3-vm 2048.obj

About

LC-3 VM (Little Computer 3 as a Virtual Machine): a VM built by following the tutorial provided by Justin Meiners and Ryan Pendleton for understanding how computers work. Please click on the link below for the original source code.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published