A Hack Assembler written in Ruby following Chapter 6: Assembler of The Elements of Computing Systems
This assembler consists of three modules:
- Parser: Parses the assembly code
- Code: Translates the parsed code into machine language
- Symbol Table: Handles symbols and labels
Run the example file:
bin/assembler examples/Add.asm