aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/long_mode/mod.rs1
-rw-r--r--src/protected_mode/mod.rs1
-rw-r--r--src/real_mode/mod.rs1
3 files changed, 3 insertions, 0 deletions
diff --git a/src/long_mode/mod.rs b/src/long_mode/mod.rs
index 439417a..9bc9f0b 100644
--- a/src/long_mode/mod.rs
+++ b/src/long_mode/mod.rs
@@ -8812,6 +8812,7 @@ fn read_operands<
instruction.opcode = Opcode::HRESET;
instruction.imm = read_num(words, 1)?;
instruction.operands[0] = OperandSpec::ImmU8;
+ instruction.operand_count = 1;
}
OperandCase::G_mm_Edq => {
instruction.regs[0].bank = RegisterBank::MM;
diff --git a/src/protected_mode/mod.rs b/src/protected_mode/mod.rs
index 200e12f..0d125eb 100644
--- a/src/protected_mode/mod.rs
+++ b/src/protected_mode/mod.rs
@@ -8668,6 +8668,7 @@ fn read_operands<
instruction.opcode = Opcode::HRESET;
instruction.imm = read_num(words, 1)?;
instruction.operands[0] = OperandSpec::ImmU8;
+ instruction.operand_count = 1;
}
OperandCase::G_mm_Ed => {
instruction.regs[0].bank = RegisterBank::MM;
diff --git a/src/real_mode/mod.rs b/src/real_mode/mod.rs
index 6765c1e..68ab6dd 100644
--- a/src/real_mode/mod.rs
+++ b/src/real_mode/mod.rs
@@ -8674,6 +8674,7 @@ fn read_operands<
instruction.opcode = Opcode::HRESET;
instruction.imm = read_num(words, 1)?;
instruction.operands[0] = OperandSpec::ImmU8;
+ instruction.operand_count = 1;
}
OperandCase::G_mm_Ed => {
instruction.regs[0].bank = RegisterBank::MM;