Skip to content

A Hack assembler written in Ruby 🔨 (Chapter 6, The Elements of Computing Systems)

Notifications You must be signed in to change notification settings

wildmaples/ruby-hack-assembler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔨 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)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages