From 9a7d1b1d41f4b3bb3387e7bbe77105d0089803d0 Mon Sep 17 00:00:00 2001 From: ubq323 Date: Thu, 20 Jun 2024 18:43:01 +0100 Subject: globals are now variable --- vm.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'vm.h') 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); -- cgit v1.2.3