aboutsummaryrefslogtreecommitdiff
path: root/src/protected_mode/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/protected_mode/mod.rs')
-rw-r--r--src/protected_mode/mod.rs1
1 files changed, 1 insertions, 0 deletions
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;