From eec945bb991989a9dfcef2d5334746ba863e0abc Mon Sep 17 00:00:00 2001 From: iximeow Date: Sun, 23 Jun 2024 12:49:16 -0700 Subject: fix AbsoluteFarAddress being tagged as a memory operand --- src/protected_mode/mod.rs | 2 +- src/real_mode/mod.rs | 2 +- 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. -- cgit v1.1