Skip to content

This is a VM translator program created as part of the Nand to Tetris course. The VM translator translates code written in the Hack VM language into Hack assembly language, making it executable on the Nand2Tetris Hardware Simulator.

License

Notifications You must be signed in to change notification settings

SaranDharshanSP/VM-Translator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

VM Translator for Nand to Tetris Course

Description

This is a VM translator program created as part of the Nand to Tetris course. The VM translator translates code written in the Hack VM language into Hack assembly language, making it executable on the Nand2Tetris Hardware Simulator.

Features

  • Translates VM code to Hack assembly code
  • Supports the Hack VM language's instruction set
  • Provides efficient and accurate code translation
  • Offers options for specifying input and output files

Usage

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

  2. Compile the VM translator source code if necessary.

  3. Create or obtain a VM code file with a .vm extension.

  4. Run the VM translator, specifying the input VM file as an argument.

  5. The VM translator will generate an output assembly file with a .asm extension, which can be executed on the Nand2Tetris Hardware Simulator.

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 VM Translator 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]].

Happy translating with your VM Translator project!

About

This is a VM translator program created as part of the Nand to Tetris course. The VM translator translates code written in the Hack VM language into Hack assembly language, making it executable on the Nand2Tetris Hardware Simulator.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages