diff --git a/sketches/assembler.js b/sketches/assembler.js index 0c1ac3d..aa3e5cf 100644 --- a/sketches/assembler.js +++ b/sketches/assembler.js @@ -102,16 +102,13 @@ function decodeInstructions(str) { dbg(2, `bytesToReplace: ${labels[label].bytesToReplace}`); } else if (arg_str.startsWith("(")) { // Handle indirect expressions - dbg(2, "INDIRECT"); addressingMode = "indirect"; arg_str = arg_str.replace("(", ""); arg_str = arg_str.replace(")", ""); } // Handle numeric operands - dbg(2, `ARG NUM ${arg_num}`); if (arg_num === null) { - dbg(2, `ARG STR ${arg_str}`); if (arg_str.startsWith("$")) { // Handle hex arg_str = arg_str.replace("$", "");