From 0e3d9f68e0a7c64e870c35df723579018516b70b Mon Sep 17 00:00:00 2001 From: "Javier B. Torres" Date: Sun, 8 Feb 2026 10:37:40 -0300 Subject: [PATCH] next: add missing opcodes to disasm.c --- next/core/disasm.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/next/core/disasm.c b/next/core/disasm.c index fab258a..87543b7 100644 --- a/next/core/disasm.c +++ b/next/core/disasm.c @@ -77,6 +77,21 @@ static size_t disassemble_instr(GrowlVM *vm, GrowlQuotation *quot, OPCODE1(COMPOSE); OPCODE1(CURRY); OPCODE1(PPRINT); + OPCODE1(ADD); + OPCODE1(MUL); + OPCODE1(SUB); + OPCODE1(DIV); + OPCODE1(MOD); + OPCODE1(BAND); + OPCODE1(BOR); + OPCODE1(BXOR); + OPCODE1(BNOT); + OPCODE1(EQ); + OPCODE1(NEQ); + OPCODE1(LT); + OPCODE1(LTE); + OPCODE1(GT); + OPCODE1(GTE); default: printf("%d\n", opcode); return offset;