From 21eff156a3094c82ad85f8d3658fc1ac79c63da1 Mon Sep 17 00:00:00 2001 From: mryouse Date: Sat, 27 May 2023 01:08:47 +0000 Subject: multiplication --- dbg.d | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'dbg.d') diff --git a/dbg.d b/dbg.d index b9aad21..6958a05 100644 --- a/dbg.d +++ b/dbg.d @@ -8,8 +8,8 @@ import parser; //import dbg; //import value; -bool DEBUG = true; -//bool DEBUG = false; +//bool DEBUG = true; +bool DEBUG = false; void printForm(Form f, string prefix = "") { @@ -177,6 +177,8 @@ int disassemble(Chunk chunk, int offset) { return listInstruction("OP_LIST", chunk, offset); case OpCode.OP_ADD: return simpleInstruction("OP_ADD", offset); + case OpCode.OP_MULTIPLY: + return simpleInstruction("OP_MULTIPLY", offset); case OpCode.OP_LESS: return simpleInstruction("OP_LESS", offset); case OpCode.OP_GREATER: -- cgit v1.2.3