mirror of
https://github.com/hazemKrimi/jack-vm-translator.git
synced 2026-05-01 18:00:27 +00:00
Update README.md
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user