Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 537 Bytes

README.md

File metadata and controls

19 lines (12 loc) · 537 Bytes

🔨 Hack Assembler in Ruby

A Hack Assembler written in Ruby following Chapter 6: Assembler of The Elements of Computing Systems

Modules

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

Usage

Run the example file:

bin/assembler examples/Add.asm