aboutsummaryrefslogtreecommitdiff
path: root/src/protected_mode/vex.rs
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2021-06-29 00:26:11 -0700
committeriximeow <me@iximeow.net>2021-06-29 00:41:55 -0700
commit3616e97a18d5ab00207e8e48e371ce2344e879e8 (patch)
tree6f3e262127fd91c138491b6501727933752bf885 /src/protected_mode/vex.rs
parent4b95d712c7923741fb91ca38967038af83fd2035 (diff)
fix several lingering mem_size discrepancies
Diffstat (limited to 'src/protected_mode/vex.rs')
-rw-r--r--src/protected_mode/vex.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/protected_mode/vex.rs b/src/protected_mode/vex.rs
index 09379cf..73d10b5 100644
--- a/src/protected_mode/vex.rs
+++ b/src/protected_mode/vex.rs
@@ -438,6 +438,7 @@ fn read_vex_operands<T: Iterator<Item=u8>>(bytes: &mut T, instruction: &mut Inst
Ok(())
}
VEXOperandCode::Nothing => {
+ instruction.mem_size = 1;
Ok(())
},
VEXOperandCode::Ev_G_xmm_imm8 => {