From dd73d5e7816433e577231b20afc9fac98f1b335b Mon Sep 17 00:00:00 2001 From: Oxore Date: Tue, 9 May 2023 18:38:11 +0300 Subject: Migrate BTST, BCHG, BCRL, BSET and MOVEP to Arg struct --- disasm.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'disasm.h') 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}; -- cgit v1.2.3