aboutsummaryrefslogtreecommitdiff
path: root/src/real_mode
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2026-06-06 04:14:51 +0000
committeriximeow <me@iximeow.net>2026-06-21 16:44:21 +0000
commit9c676ba70cdbf0edfeae7b8a13e881724711383b (patch)
treec7a39d37c00069b3323559840aa4f52f0c2393ac /src/real_mode
parentd8d1662bc0469901a25658679e07082aa4d71d22 (diff)
the weird 64b movq thing was a capstone bug all along?!
Diffstat (limited to 'src/real_mode')
-rw-r--r--src/real_mode/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/real_mode/mod.rs b/src/real_mode/mod.rs
index 334c07a..ee66d2a 100644
--- a/src/real_mode/mod.rs
+++ b/src/real_mode/mod.rs
@@ -7199,6 +7199,7 @@ fn read_operands<
instruction.operand_count = 2;
instruction.regs[0].bank = RegisterBank::X;
instruction.operands[1] = mem_oper;
+
if instruction.operands[1] != OperandSpec::RegMMM {
instruction.mem_size = 8;
} else {