wildmaples / ruby-hack-assembler

A Hack assembler written in Ruby πŸ”¨ (Chapter 6, The Elements of Computing Systems)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

πŸ”¨ 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

About

A Hack assembler written in Ruby πŸ”¨ (Chapter 6, The Elements of Computing Systems)


Languages

Language:Ruby 100.0%