From b07ece568d8d62ca80a8ba3b43fb46a98e117d5a Mon Sep 17 00:00:00 2001 From: Bad Diode Date: Sat, 23 Oct 2021 18:19:14 +0200 Subject: Add logic operations --- src/bytecode/ops.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/bytecode/ops.h') diff --git a/src/bytecode/ops.h b/src/bytecode/ops.h index b58631f..b59d65a 100755 --- a/src/bytecode/ops.h +++ b/src/bytecode/ops.h @@ -8,6 +8,14 @@ typedef enum Ops { OP_MUL, OP_DIV, OP_MOD, + OP_NOT, + OP_AND, + OP_OR, + OP_EQUAL, + OP_LESS, + OP_GREATER, + OP_LESS_EQUAL, + OP_GREATER_EQUAL, OP_RETURN, } Ops; -- cgit v1.2.1