aboutsummaryrefslogtreecommitdiff
path: root/src/protected_mode/mod.rs
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/protected_mode/mod.rs
parentd8d1662bc0469901a25658679e07082aa4d71d22 (diff)
the weird 64b movq thing was a capstone bug all along?!
Diffstat (limited to 'src/protected_mode/mod.rs')
-rw-r--r--src/protected_mode/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/protected_mode/mod.rs b/src/protected_mode/mod.rs
index 0c33643..5476647 100644
--- a/src/protected_mode/mod.rs
+++ b/src/protected_mode/mod.rs
@@ -7157,6 +7157,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 {