Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 459 Bytes

README.md

File metadata and controls

28 lines (22 loc) · 459 Bytes

LC-3 cross-platfrom virtual machine.

Getting started

How to run 2048 game on Windows:

  1. Compile code using gcc.
	gcc -o main.exe source/lc3-vm.c source/lc3-vm.h source/main.c
  1. Run program.
	main.exe 2048.obj 

How to run on Linux:

  1. Compile code using gcc.
	gcc -o main source/*.c source/*.h
  1. Run program.
	./main 2048.obj

2048.obj could be any object file assembled into lc-3 isa.