aboutsummaryrefslogtreecommitdiff
path: root/src/protected_mode/mod.rs
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2022-08-15 11:09:59 -0700
committeriximeow <me@iximeow.net>2023-01-02 08:50:23 -0800
commitc75544f724edabc7bd1bf90e4d2ed7ab8ac04507 (patch)
treed74b0fdf8759c37075d5c7d8b03882cea859ca90 /src/protected_mode/mod.rs
parentd5eafcbc374357a66794297a60c3a7a2b035bff3 (diff)
building out the generic x86 type
Diffstat (limited to 'src/protected_mode/mod.rs')
-rw-r--r--src/protected_mode/mod.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/protected_mode/mod.rs b/src/protected_mode/mod.rs
index 2adf0c8..dfc2adf 100644
--- a/src/protected_mode/mod.rs
+++ b/src/protected_mode/mod.rs
@@ -1098,6 +1098,8 @@ impl std::error::Error for DecodeError {
}
}
+// almost compatible with 32-bi and 16-bit operand specs, but those modes include variants that
+// arenot present here, and vice-versa
#[allow(non_camel_case_types)]
#[derive(Debug, Copy, Clone, Eq, PartialEq)]
enum OperandSpec {