summaryrefslogtreecommitdiff
path: root/disasm.h
diff options
context:
space:
mode:
Diffstat (limited to 'disasm.h')
-rw-r--r--disasm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/disasm.h b/disasm.h
index 24495e6..753b090 100644
--- a/disasm.h
+++ b/disasm.h
@@ -331,6 +331,8 @@ struct Arg {
a.lword = displacement;
return a;
}
+ static constexpr Self CCR() { return Arg{ArgType::kCCR, 0}; }
+ static constexpr Self SR() { return Arg{ArgType::kSR, 0}; }
private:
static constexpr Self addrModeXn(const ArgType type, const uint8_t xn) {
Arg a{type, 0};