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 bfe67c3..ca2e7cb 100644
--- a/src/long_mode/mod.rs
+++ b/src/long_mode/mod.rs
@@ -9144,6 +9144,7 @@ fn read_operands<
.with_id(words.offset() as u32 * 8),
);
instruction.operands[0] = OperandSpec::ImmI8;
+ instruction.operand_count = 1;
},
};
Ok(())
diff --git a/src/protected_mode/mod.rs b/src/protected_mode/mod.rs
index 3036620..6a1d19b 100644
--- a/src/protected_mode/mod.rs
+++ b/src/protected_mode/mod.rs
@@ -9053,6 +9053,7 @@ fn read_operands<
.with_id(words.offset() as u32 * 8),
);
instruction.operands[0] = OperandSpec::ImmI8;
+ instruction.operand_count = 1;
},
};
Ok(())
diff --git a/src/real_mode/mod.rs b/src/real_mode/mod.rs
index aa98846..f54533c 100644
--- a/src/real_mode/mod.rs
+++ b/src/real_mode/mod.rs
@@ -9112,6 +9112,7 @@ fn read_operands<
.with_id(words.offset() as u32 * 8),
);
instruction.operands[0] = OperandSpec::ImmI8;
+ instruction.operand_count = 1;
},
};
Ok(())