From c55538a01413a0fccef817460bd0dbabd45103f3 Mon Sep 17 00:00:00 2001 From: Daniel Cujba Date: Sat, 13 Mar 2021 22:20:20 +0200 Subject: [PATCH] Initial Commit --- Main.py | 0 TestFile.asm | 0 ToDoList | 20 ++++++++++++++++++++ 3 files changed, 20 insertions(+) create mode 100644 Main.py create mode 100644 TestFile.asm create mode 100644 ToDoList diff --git a/Main.py b/Main.py new file mode 100644 index 0000000..e69de29 diff --git a/TestFile.asm b/TestFile.asm new file mode 100644 index 0000000..e69de29 diff --git a/ToDoList b/ToDoList new file mode 100644 index 0000000..ee5f33f --- /dev/null +++ b/ToDoList @@ -0,0 +1,20 @@ +*Nand2Tetris - Chapter 4 Project* + +Main Goal: +Build a fully fuctional Assembler that takes the Assembly writen code and transforms it into machine code for the Hack Computer + +To Do: + +1.Build the Parser Module - Incomplete +Description: Will break each assembly command into is components to be later process by the other modules. + +2.Build the Code Module - Incomplete +Description: Will take the data from the parser module and translate it into machine code. + +3.Build the Symbol Table Module - Incomplete +Description: Will take data from the parser module and transform symbols into acutal addresses which will be store into a python dictionary. + +4.Connect the 3 modules together - Incomplete +Description: The workflow of the Assembler Program will involve importing the assembly text from a ".asm" file. Afterward, the parser module will break the code into smaller chunks. This chunks will be than fed to the symbol table module which will build a dictionary for the user generated symbol. The dictionary will be initialize with a series of predefined symbols. Lastly, the code module translates each chunk fed from the parser module into machine code. In case of symbol, the code module will use the symbol table to translate it. The translated program will than be store in a ".hack" file. + +For more information: https://www.nand2tetris.org/ \ No newline at end of file