From 714f6cfc5ae07d1c6836d72edf85147c985a3c93 Mon Sep 17 00:00:00 2001 From: iximeow Date: Fri, 2 Jul 2021 00:01:23 -0700 Subject: `Nothing` operand code must be decoded with operand_count=0 --- src/protected_mode/vex.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/protected_mode/vex.rs b/src/protected_mode/vex.rs index 235d160..7c55ef1 100644 --- a/src/protected_mode/vex.rs +++ b/src/protected_mode/vex.rs @@ -440,7 +440,7 @@ fn read_vex_operands::Address, { - instruction.mem_size = 1; + instruction.operand_count = 0; Ok(()) }, VEXOperandCode::Ev_G_xmm_imm8 => { -- cgit v1.1