@cauequeiroz/nand2tetris-assembler

1.0.4 • Public • Published

Nand2Tetris Assembler

Assembler written in Typescript for Nand2Tetris Hack Computer. This assembler is the week 6 project of Nand2Tetris Part 1 course.

Input: .asm file (hack computer assembly language)
Output: .hack file (hack computer machine code)

More information at: https://www.nand2tetris.org/project06

Usage

$ npm install -g @cauequeiroz/nand2tetris-assembler
$ nand2tetris-assembler ./path/to/file.asm
$ npx @cauequeiroz/nand2tetris-assembler ./path/to/file.asm

After that, the output file with machine code only (.hack) will appears on the same directory of input file.

Package Sidebar

Install

npm i @cauequeiroz/nand2tetris-assembler

Weekly Downloads

4

Version

1.0.4

License

ISC

Unpacked Size

1.26 MB

Total Files

28

Last publish

Collaborators

  • cauequeiroz