- Compile code using gcc.
gcc -o main.exe source/lc3-vm.c source/lc3-vm.h source/main.c
- Run program.
main.exe 2048.obj
- Compile code using gcc.
gcc -o main source/*.c source/*.h
- Run program.
./main 2048.obj
2048.obj could be any object file assembled into lc-3 isa.