Skip to content

VM Translator from The Jack language VM code to The Hack language assembly code as part of the Nand to Tetris course

Notifications You must be signed in to change notification settings

hazemKrimi/jack-vm-translator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Jack VM Translator

This is a VM Translator made as the an assignment for the Nand To Tetris Course: Part 2. It assumes that the vm file file does not have errors for now.

To compile the program run the following command:

g++ main.cpp -Isrc -std=c++17

To run the executable against jack vm files run the following command with the path of the file:

./a.out <path>

The file will be written next to the source file.

About

VM Translator from The Jack language VM code to The Hack language assembly code as part of the Nand to Tetris course

Topics

Resources

Stars

Watchers

Forks