- Implemented an assembler for build a computer course on coursera.
- Hack assembly Language specification [1], [2]
mkdir build
cd build
cmake ..
make
- Binary is created in
/bin
folder
./hack_assembler -i [input filename] -o [output filename]
- input file must be
.asm
file - output file generated will be with suffix
.hack
- Download software package for this course.
- run
tools/CPUSimulator.sh
. - Load the compiled
.hack
files to run them.