mirror of
https://github.com/hazemKrimi/jack-vm-translator.git
synced 2026-05-01 18:00:27 +00:00
Handle function commands
This commit is contained in:
+5
-2
@@ -21,7 +21,8 @@ enum NoArgumentCommand {
|
||||
LT,
|
||||
AND,
|
||||
OR,
|
||||
NOT
|
||||
NOT,
|
||||
RETURN,
|
||||
};
|
||||
|
||||
enum OneArgumentCommand {
|
||||
@@ -32,5 +33,7 @@ enum OneArgumentCommand {
|
||||
|
||||
enum TwoArgumentCommand {
|
||||
PUSH,
|
||||
POP
|
||||
POP,
|
||||
FUNCTION,
|
||||
CALL
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user