summaryrefslogtreecommitdiff
path: root/disasm.h
diff options
context:
space:
mode:
authorOxore <oxore@protonmail.com>2023-05-10 01:19:02 +0300
committerOxore <oxore@protonmail.com>2023-05-10 01:19:02 +0300
commit00d0b6eb6a8f0dd38ecc0b6d140963fa72419192 (patch)
tree1625b83a6c1fac4eba5246c121204987311b8960 /disasm.h
parenta321550f59320bb55a6d4a57093768b0099dbd9e (diff)
Migrate Scc, DBcc, SUBQ and ADDQ to Arg and OpCode
Diffstat (limited to 'disasm.h')
-rw-r--r--disasm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/disasm.h b/disasm.h
index eaa1e27..d472105 100644
--- a/disasm.h
+++ b/disasm.h
@@ -326,7 +326,7 @@ struct Arg {
a.uword = regmask;
return a;
}
- static constexpr Self Displacement(const int16_t displacement) {
+ static constexpr Self Displacement(const int32_t displacement) {
Arg a{ArgType::kDisplacement, 0};
a.lword = displacement;
return a;