Skip to content

ShubhamTiwary914/hackAssember

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hack Assembler

A simple assembler written in Golang to process .asm files and generate corresponding .hack files.

Prerequisites - Install golang

  1. Download from official website.
  2. Verify installation:
  go version

Usage

  1. Run without building
  go run main.go "filename"

Takes "path/filename.asm" --> generate "path/filename.hack"

  1. Build the assembler:
  go build -o assembler

run via build:

  ./assembler "filename"

About

HackAssembler - Assembler for Hack ASM --> HACK machine language (ref: nand2tetris.org/)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published