This is an assembler program created as part of the Nand to Tetris course, which is a project-based introduction to computer architecture. The assembler translates assembly language source code into binary machine code, making it executable on the Nand2Tetris Hardware Simulator.
- Converts assembly language code to binary machine code
- Supports the Nand2Tetris Hardware Simulator's instruction set
- Provides error checking and reporting for syntax errors
- User-friendly and easy to use
-
Clone or download this repository to your local machine.
-
Compile the assembler source code if necessary.
-
Create an assembly language source file with a
.asm
extension. -
Run the assembler, specifying the input assembly file as an argument.
-
The assembler will generate an output file with a
.hack
extension, containing the binary machine code.
To get started with the Nand to Tetris course, follow these steps:
- Visit the Nand to Tetris website for course materials and resources.
- Download the Nand2Tetris Software Suite to access the Hardware Simulator and other tools.
- Follow the course instructions to complete the projects, including the Assembler project.
Contributions are welcome! If you'd like to contribute to this project, please follow the standard GitHub fork and pull request workflow.
This project is licensed under the MIT License - see the LICENSE file for details.
- The Nand to Tetris course instructors and authors for creating this educational program.
If you have any questions or need further assistance, feel free to contact me at [[email protected]].
Enjoy your Nand to Tetris journey!