summaryrefslogtreecommitdiff
path: root/disasm.cpp
diff options
context:
space:
mode:
authorOxore <oxore@protonmail.com>2023-05-26 23:48:24 +0300
committerOxore <oxore@protonmail.com>2023-05-26 23:48:24 +0300
commitedfe901ba751f4fcdf287102037eb36bf28cfa2a (patch)
tree1895037219c090c9123a48e4cb7cd6b4217910c5 /disasm.cpp
parent4f89cdd326fbc9cc1fbd75879d67b462b76bd7c3 (diff)
Change all `mark` wording to `label` wording
Diffstat (limited to 'disasm.cpp')
-rw-r--r--disasm.cpp8
1 files changed, 4 insertions, 4 deletions
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<uint32_t>(a.d16_pc.d16);
@@ -1859,7 +1859,7 @@ int Arg::SNPrint(
if (static_cast<uint32_t>(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<uint32_t>(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<uint32_t>(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<uint32_t>(lword) > ref_addr);
return snprintf(buf, bufsz, "#L%08x+%d", ref_addr, lword - ref_addr);
}