Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dmjio/lc3
:floppy_disk: The LC3 virtual machine
https://github.com/dmjio/lc3
assembly haskell instruction-set-architecture lc3 opcodes virtual-machine
Last synced: about 2 months ago
JSON representation
:floppy_disk: The LC3 virtual machine
- Host: GitHub
- URL: https://github.com/dmjio/lc3
- Owner: dmjio
- License: bsd-3-clause
- Created: 2018-12-30T19:03:09.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-07-21T19:25:04.000Z (over 2 years ago)
- Last Synced: 2024-11-08T01:37:44.393Z (about 2 months ago)
- Topics: assembly, haskell, instruction-set-architecture, lc3, opcodes, virtual-machine
- Language: Haskell
- Homepage: https://justinmeiners.github.io/lc3-vm/
- Size: 21.5 KB
- Stars: 22
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog.md
- License: LICENSE
Awesome Lists containing this project
README
LC3
===================A Haskell implementation of the [LC3 virtual machine](https://justinmeiners.github.io/lc3-vm/)
### Play 2048!
```bash
$ nix-build
$ ./result/bin/LC3 ./2048.obj
```### Result
```
+--------------------------+
| |
| 16 4 4 |
| |
| 2 2 |
| |
| 2 |
| |
| |
| |
+--------------------------+
```### Play Rogue!
```bash
$ nix-build
$ ./result/bin/LC3 ./rogue.obj
```### Result
```
################## ############
################### ########
####################### #
######################## # #
###############################D
################################
################################
##############################
# #############################
## @ ##########################
##### #########################
###### ########################
####### ######################
######### ###################
############ ## ##############
############# #############
```