Skip to content

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.

Notifications You must be signed in to change notification settings

SaranDharshanSP/Hack-Assembler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Assembler for Nand to Tetris Course

Description

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.

Features

  • 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

Usage

  1. Clone or download this repository to your local machine.

  2. Compile the assembler source code if necessary.

  3. Create an assembly language source file with a .asm extension.

  4. Run the assembler, specifying the input assembly file as an argument.

  5. The assembler will generate an output file with a .hack extension, containing the binary machine code.

Getting Started

To get started with the Nand to Tetris course, follow these steps:

  1. Visit the Nand to Tetris website for course materials and resources.
  2. Download the Nand2Tetris Software Suite to access the Hardware Simulator and other tools.
  3. Follow the course instructions to complete the projects, including the Assembler project.

Contributing

Contributions are welcome! If you'd like to contribute to this project, please follow the standard GitHub fork and pull request workflow.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

  • The Nand to Tetris course instructors and authors for creating this educational program.

Contact

If you have any questions or need further assistance, feel free to contact me at [[email protected]].

Enjoy your Nand to Tetris journey!

About

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.

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages