Skip to content

lai0pei/Hack_Assembler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Assembler for Hack Operating System Written in C

This is a part of the project in NandToTetris.

The assembler contains a LR parser, Symbol table and Instruction generator. 

How to build

Require GCC to compile 
gcc -O -o assembler ./Parser/Parser.c ./Symbol/Symbol.c ./Code/Code.c main.c

Or Using Makefile
make build

Building a program

1.File with .asm and valid Hack Instruction set is required to build.
2.Max.asm contains valid Hack Instruction sets.
3.The assembler will output out.hack program which can be run on Hack's CPU Simulator.

About

Assembler for Hack Operating System [NandToTetris]

Resources

Stars

Watchers

Forks

Packages

No packages published