Files
hack-assembler/README.md
lejulien 4afdcd1660 Cleanup the project
* Add .cache to gitignore (for the nlohmann::json library)
* Fix the project name
* Update the readme
2026-06-03 10:17:03 +02:00

772 B

hack-assembler

An implementation of a hack assembler in C++, based on the project 6 of the nand2tetris course.

Compilation

cmake -S . -B build
cmake --build build

Usage

cat <input_file.asm> | ./hack-assembler > ./out/<output_file.hack>

Testing

In order to check the assembler, you can generate the .hack files from the asm-samples directory. And test those within nand2tetris CPU emulator.

References

License

This project is under the WTFPL License. See LICENSE for details.