diff options
author | Oxore <oxore@protonmail.com> | 2023-05-09 18:38:11 +0300 |
---|---|---|
committer | Oxore <oxore@protonmail.com> | 2023-05-09 18:49:52 +0300 |
commit | dd73d5e7816433e577231b20afc9fac98f1b335b (patch) | |
tree | 7da8056f7fb72d548cc2fa8779d9c18b50ac18d7 /disasm.h | |
parent | fb9c81fd1f726244be8a43b2f775306bfc7f7954 (diff) |
Migrate BTST, BCHG, BCRL, BSET and MOVEP to Arg struct
Diffstat (limited to 'disasm.h')
-rw-r--r-- | disasm.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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}; |