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:
- Make sure java is installed (type "java -version" in terminal/command prompt)
- Make a copy of the src folder on your computer
- Naviage on terminal/command prompt to src and type "javac AssemblyDecompiler.java"
- 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