From beb0432d41c77233221f541602701bd27b711cd9 Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 25 Mar 2024 09:34:05 +0000 Subject: [PATCH] Fix Variable Naming in Literal Add Instruction --- gepvm/gepvm.odin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gepvm/gepvm.odin b/gepvm/gepvm.odin index b5bdbaf..42b105a 100644 --- a/gepvm/gepvm.odin +++ b/gepvm/gepvm.odin @@ -139,7 +139,7 @@ main :: proc() { fmt.printf("Adding %d to register %d with value %d, result is %d\n", lit_51, dest_index, dest_val, result) } - registers.set(dest_index, value) + registers.set(dest_index, result) } case: { when ODIN_DEBUG {