aboutsummaryrefslogtreecommitdiff
path: root/src/long_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/long_mode/vex.rs
parent4b95d712c7923741fb91ca38967038af83fd2035 (diff)
fix several lingering mem_size discrepancies
Diffstat (limited to 'src/long_mode/vex.rs')
-rw-r--r--src/long_mode/vex.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/long_mode/vex.rs b/src/long_mode/vex.rs
index ab69e51..31297f7 100644
--- a/src/long_mode/vex.rs
+++ b/src/long_mode/vex.rs
@@ -442,6 +442,7 @@ fn read_vex_operands<T: Iterator<Item=u8>>(bytes: &mut T, instruction: &mut Inst
Ok(())
}
VEXOperandCode::Nothing => {
+ instruction.operand_count = 0;
Ok(())
},
VEXOperandCode::Ev_G_xmm_imm8 => {