ELK is a complete LC-3 toolchain available both as a CLI program and a Zig library. ELK /ɛlk/ stands for Extended LC-3 Kit, and strives to be the most compatible and featureful implementation available.
Official Codeberg repository | Documentation | Releases | GitHub mirror
For more detailed documentation, see the ELK Usage Guide.
# Show all options
elk --help
# Assemble and emulate
elk hello.asm
# Assemble and debug
elk hello.asm --debug
# Assemble to object file
elk hello.asm --assemble [--output hello.obj]
# Emulate object file
elk hello.obj --emulateFor more detailed installation instructions, see the ELK Usage Guide.
- Download the latest binary release from GitHub releases.
- Install the downloaded file to your PATH:
install <filename> ~/.local/bin/elk- Why ELK?
- About LC-3
- Setup
- Reference
Want to contribute? Check out the open issues, or share your own ideas! 😀
Additional thanks to:
- @twhlynch for providing editor integration for Neovim and VSCode.
- @ida5428 for helping with Homebrew distribution.
Some useful diagnostics whilst compiling a faulty assembly program