Skip to content

m7z/lc3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

# Little Computer 3 Virtual Machine
No intent on keeping fidelity with the original work.

## Build and run VM (tested on Debian)
```
cc vm.c -O3 -o lc3
./lc3 data/2048.obj
./lc3 data/rogue.obj
```

# Debug
```
cc vm.c -Wall -Wextra -Og -o lc3
hexdump data/2048.obj # In another window/tab
gdb ./lc3
...
(gdb) run data/2048.obj
...

```
## -- Relevant links 
https://www.jmeiners.com/lc3-vm/supplies/lc3-isa.pdf (IMPORTANT !!!)
https://www.jmeiners.com/lc3-vm/ 
https://en.wikipedia.org/wiki/Little_Computer_3
https://highered.mheducation.com/sites/0072467509/student_view0/lc-3_simulator.html
-- LC3-B 
https://users.ece.utexas.edu/~patt/07s.360N/handouts/360n.appC.pdf

-- No access for this project --
"Introduction to Computing Systems: From Bits & Gates to C/C++ & Beyond"

About

LC-3 Virtual Machine

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages