Remove temporary debugging prints

This commit is contained in:
n loewen 2023-08-01 15:39:40 +01:00
parent 7fc228c705
commit 4b4715c6f3
1 changed files with 0 additions and 3 deletions

View File

@ -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("$", "");