From 340d89e4efd6200e733db8f67e787a6625a0a128 Mon Sep 17 00:00:00 2001 From: iximeow Date: Mon, 18 May 2026 07:06:50 +0000 Subject: adapt long-mode behavior support to protected mode and real mode along the way, fix an error: maskmov is memory read-write. additionally, operand information about {push,pop}a{,d}. --- src/real_mode/mod.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/real_mode/mod.rs') diff --git a/src/real_mode/mod.rs b/src/real_mode/mod.rs index 097f6e5..f538fa5 100644 --- a/src/real_mode/mod.rs +++ b/src/real_mode/mod.rs @@ -3,6 +3,8 @@ mod evex; #[cfg(feature = "fmt")] mod display; pub mod uarch; +#[cfg(feature = "behavior")] +pub mod behavior; pub use crate::MemoryAccessSize; use crate::{Address, Word}; @@ -1000,6 +1002,7 @@ const XSAVE: [Opcode; 10] = [ #[allow(non_camel_case_types)] #[derive(Copy, Clone, Debug, Eq, PartialEq)] +#[cfg_attr(feature = "_debug_internal_asserts", derive(strum::EnumCount))] #[non_exhaustive] #[repr(u32)] pub enum Opcode { -- cgit v1.1