4afdcd16605bc176aa2f20c94796f0ece1430d04
* Add .cache to gitignore (for the nlohmann::json library) * Fix the project name * Update the readme
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.
Languages
Assembly
97.6%
C++
2.2%
CMake
0.2%