https://github.com/agentcooper/hack-assembler
For nand2tetris book
https://github.com/agentcooper/hack-assembler
nand2tetris
Last synced: 9 months ago
JSON representation
For nand2tetris book
- Host: GitHub
- URL: https://github.com/agentcooper/hack-assembler
- Owner: agentcooper
- Created: 2018-11-04T22:37:32.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-12-25T22:23:38.000Z (over 7 years ago)
- Last Synced: 2025-03-02T18:28:59.685Z (over 1 year ago)
- Topics: nand2tetris
- Language: Assembly
- Size: 38.1 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# hack-assembler
Assembler for the Hack language from [The Elements of Computing Systems](https://mitpress.mit.edu/books/elements-computing-systems) written in Rust.
Inside `./examples`:
- `*.asm` files are copied from `nand2tetris/projects/06`
- `*.hack` files are generated with `nand2tetris/projects/Assembler`
`nand2tetris` software can be found on https://www.nand2tetris.org/software.
## Run
```
cargo run ./example/add.asm
```
## Test
```
cargo test
```