* Add .cache to gitignore (for the nlohmann::json library) * Fix the project name * Update the readme
772 B
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.