summaryrefslogtreecommitdiff
path: root/vm.h
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2024-06-20 18:43:01 +0100
committerubq323 <ubq323@ubq323.website>2024-06-20 18:45:35 +0100
commit9a7d1b1d41f4b3bb3387e7bbe77105d0089803d0 (patch)
tree984e8648448ee75fe2bed9f9616ba295fc1b81f7 /vm.h
parent600eaef90f9f0507635fec4cf98f7fa1d1779bd1 (diff)
globals are now variable
Diffstat (limited to 'vm.h')
-rw-r--r--vm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/vm.h b/vm.h
index bce1923..859e207 100644
--- a/vm.h
+++ b/vm.h
@@ -45,7 +45,10 @@ typedef enum {
OP_MUL,
OP_DIV,
+ OP_DROP,
+
OP_GETGLOBAL,
+ OP_SETGLOBAL,
} Op;
void runvm(State *S);