aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2024-06-23 12:49:16 -0700
committeriximeow <me@iximeow.net>2024-06-23 12:49:16 -0700
commiteec945bb991989a9dfcef2d5334746ba863e0abc (patch)
treea4311ec169b5d239994e912809d14926e43dcfd6
parent22a7e97f2119d1a3facf6b1f2d95f0ed1ee10bee (diff)
fix AbsoluteFarAddress being tagged as a memory operand
-rw-r--r--src/protected_mode/mod.rs2
-rw-r--r--src/real_mode/mod.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/protected_mode/mod.rs b/src/protected_mode/mod.rs
index b0a3f62..7c7a4c0 100644
--- a/src/protected_mode/mod.rs
+++ b/src/protected_mode/mod.rs
@@ -2676,7 +2676,7 @@ enum OperandSpec {
RegIndexBaseScale_mask = 0xd6,
RegIndexBaseScaleDisp_mask = 0xd7,
// u16:u{16,32} immediate address for a far call
- AbsoluteFarAddress = 0x98,
+ AbsoluteFarAddress = 0x18,
}
// the Hash, Eq, and PartialEq impls here are possibly misleading.
diff --git a/src/real_mode/mod.rs b/src/real_mode/mod.rs
index 2a3723f..8dd6741 100644
--- a/src/real_mode/mod.rs
+++ b/src/real_mode/mod.rs
@@ -2595,7 +2595,7 @@ enum OperandSpec {
RegIndexBaseScale_mask = 0xd6,
RegIndexBaseScaleDisp_mask = 0xd7,
// u16:u{16,32} immediate address for a far call
- AbsoluteFarAddress = 0x98,
+ AbsoluteFarAddress = 0x18,
}
// the Hash, Eq, and PartialEq impls here are possibly misleading.