From dd5210368634e2b322435385eaaaccaa5125b5a9 Mon Sep 17 00:00:00 2001 From: Bad Diode Date: Sun, 24 Oct 2021 15:42:01 +0200 Subject: Add initial IF implementation --- src/bytecode/debug.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/bytecode/debug.h') diff --git a/src/bytecode/debug.h b/src/bytecode/debug.h index 889ae03..674d469 100755 --- a/src/bytecode/debug.h +++ b/src/bytecode/debug.h @@ -28,6 +28,9 @@ static const char* ops_str[] = { [OP_GREATER] = "OP_GREATER", [OP_LESS_EQUAL] = "OP_LESS_EQUAL", [OP_GREATER_EQUAL] = "OP_GREATER_EQUAL", + // Jump/conditional ops. + [OP_JUMP] = "OP_JUMP", + [OP_JUMP_IF_FALSE] = "OP_JUMP_IF_FALSE", // Display ops. [OP_DISPLAY] = "OP_DISPLAY", [OP_PRINT] = "OP_PRINT", -- cgit v1.2.1