Hack Assembler

Here you can assemble Hack assembly code into Hack machine language.

Either copy and paste into the window or upload a .asm file. If the resulting code exceeds 50 lines, a .hack file will be downloaded containing the assembly code.

You can view the source code here.

Or enter a file: