/Nand2Tetris-VMTranslator

This repository contains the program that translates VM commands to assembly language (.asm file). This is done as part of the nand2tetris coursework.

Primary LanguageAssembly

As part of the Nand2Tetris coursework (19AIE112 - Elements of Computing 2), We have developed a VM Translator program that translates the VM commands to assembly language.

Feel free to use this code as reference. Make sure you are changing the location address of the desired VM command and the generated assembly code.

Few Successful Output Comparisons are shown below:

  • SimpleAdd.asm SimpleAdd

  • PointerTest.asm PointerTest

  • NestedCall.asm NestedCall

  • FibonacciSeries.asm FibonacciSeries

Happy Coding!