PRIYADHARSHINI2003 / assembly-decompiler

Convert Hack Assembly language instructions to binary

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

assembly-decompiler

Convert Hack Assembly language instructions to binary

Input(s): .asm file (Hack Assembly langugae program)

Output(s): .hack file (Hack computer binary code)

To use:

  1. Make sure java is installed (type "java -version" in terminal/command prompt)
  2. Make a copy of the src folder on your computer
  3. Naviage on terminal/command prompt to src and type "javac AssemblyDecompiler.java"
  4. Convert assembly: type "java AssemblyDecompiler <String: file>"

Note: If file is another directory, pass in path with file name.

Example assembly programs are from Shimon Schocken and Noam Nisan from nand2tetris.org

About

Convert Hack Assembly language instructions to binary


Languages

Language:Java 86.7%Language:Assembly 13.3%