aboutsummaryrefslogtreecommitdiff
path: root/src/protected_mode/mod.rs
diff options
context:
space:
mode:
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 9c03faf..040a23e 100644
--- a/src/protected_mode/mod.rs
+++ b/src/protected_mode/mod.rs
@@ -8800,6 +8800,7 @@ fn unlikely_operands<
};
instruction.operands[1] = OperandSpec::RegRRR;
instruction.operands[0] = read_E(words, instruction, modrm, sz, sink)?;
+ instruction.mem_size = sz;
instruction.regs[0] =
RegSpec::from_parts((modrm >> 3) & 7, bank);
instruction.operand_count = 2;