Skip to content

Hack Assembler for nand2tetris implemented with Python

Notifications You must be signed in to change notification settings

vinicius0197/hack-assembler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hack Assembler

This is a Python implementation for the Hack Assembler, an assembler for the Hack Machine Language built for the nand2tetris) course.

Usage Guide

Run the Assembler with a valid .asm file by using the following command:

  python src/Main.py --source path/to/file

The assembler will output a .hack file inside your directory. You can upload this machine code file inside your Hack Computer implementation or in the CPU Emulator provided in the nand2tetris website.

The /tests folder contains valid .asm test files from nand2tetris that you can use to test the assembler.

About

Hack Assembler for nand2tetris implemented with Python

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages