#assembly

nightly bin+lib hack_asm

A Nand2Tetris Hack Assembly Language Assembler written in Rust

8 releases (3 stable)

1.0.2 Dec 28, 2023
1.0.1 May 22, 2022
0.3.0-dev May 21, 2022
0.2.0-dev May 14, 2022
0.1.3-dev May 14, 2022

#150 in #assembly

31 downloads per month

MIT license

28KB
660 lines

hack_asm

A Nand2Tetris Hack Assembly Language Assembler written in Rust

About

For this project, I set out to implement a simple assembler for the Nand2Tetris assembly language. I also practice using Cargo and crates.io, because this is my very first published crate.

Usage

hack_asm <INPUT_FILE>

For a given input.asm this will generate an input.hack file.

Dependencies

~4.5MB
~80K SLoC