aboutsummaryrefslogtreecommitdiff
path: root/src/long_mode
diff options
context:
space:
mode:
Diffstat (limited to 'src/long_mode')
-rw-r--r--src/long_mode/mod.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/long_mode/mod.rs b/src/long_mode/mod.rs
index 43cb19e..35e9c60 100644
--- a/src/long_mode/mod.rs
+++ b/src/long_mode/mod.rs
@@ -7321,6 +7321,9 @@ fn unlikely_operands<T: Iterator<Item=u8>>(decoder: &InstDecoder, mut bytes_iter
instruction.operands[1] = OperandSpec::Deref;
instruction.operand_count = 2;
}
+ OperandCode::AH => {
+ instruction.operand_count = 0;
+ }
OperandCode::DX_Xv => {
instruction.modrm_rrr = RegSpec::dx();
instruction.modrm_mmm = RegSpec::rsi();