From edfe901ba751f4fcdf287102037eb36bf28cfa2a Mon Sep 17 00:00:00 2001 From: Oxore Date: Fri, 26 May 2023 23:48:24 +0300 Subject: Change all `mark` wording to `label` wording --- disasm.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'disasm.cpp') diff --git a/disasm.cpp b/disasm.cpp index dba933a..6179c8d 100644 --- a/disasm.cpp +++ b/disasm.cpp @@ -274,8 +274,8 @@ static size_t disasm_ext_movem( return disasm_verbatim(node, instr); } else if (a.mode == AddrMode::kD16PCAddr) { // XXX: kRefPcRelFix2Bytes flag is a hack that needed to correctly - // print PC relative mark referenced value for MOVEM. Alongside with - // *NOT* adding kInstructionSizeStepBytes to ref1_addr. Still + // print label for PC relative referenced value of MOVEM. Alongside + // with *NOT* adding kInstructionSizeStepBytes to ref1_addr. Still // figuring that out. node.ref1_addr = node.offset + kInstructionSizeStepBytes * 2 + static_cast(a.d16_pc.d16); @@ -1859,7 +1859,7 @@ int Arg::SNPrint( if (static_cast(lword) == ref_addr) { return snprintf(buf, bufsz, "L%08x:%c", ref_addr, c); } else { - // It has to be AFTER the mark we are gonna reference here + // It has to be AFTER the label we are gonna reference here assert(static_cast(lword) > ref_addr); return snprintf(buf, bufsz, "L%08x+%d:%c", ref_addr, lword - ref_addr, c); } @@ -1894,7 +1894,7 @@ int Arg::SNPrint( if (static_cast(lword) == ref_addr) { return snprintf(buf, bufsz, "#L%08x", ref_addr); } else { - // It has to be AFTER the mark we are gonna reference here + // It has to be AFTER the label we are gonna reference here assert(static_cast(lword) > ref_addr); return snprintf(buf, bufsz, "#L%08x+%d", ref_addr, lword - ref_addr); } -- cgit v1.2.3