Update README.md

This commit is contained in:
Hazem Krimi
2024-04-23 20:28:36 +01:00
committed by GitHub
parent ae3274304f
commit e79ab46844
+13 -2
View File
@@ -1,2 +1,13 @@
# jack-vm-translator
VM Translator from The Jack language VM code to The Hack language assembly code as part of the Nand to Tetris course
# Jack VM Translator
This is a VM Translator made as the an assignment for the [Nand To Tetris Course: Part 2](https://nand2tetris.org/project07). 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
```
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.