Skip to content
A C++ implementation for Hack machine language assembler
C++
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.DS_Store
.depend
.gitattributes
LICENSE
README.md
instruction.cpp
instruction.h
main.cpp
test.hack

README.md

LICENSE

Hack Assembler

A simple implementation of assembler for hack machine language in C++

compile:

g++ -g -std=c++11 -Wall -pedantic -o main.out *.cpp

run:

./main.out test.asm 

will generate test.hack (with same name)

Debug with extra info:

./main.out test.asm -v

All the white spaces and comments are ignored (content after // in any single line)

You can’t perform that action at this time.