Struct iced_x86::RflagsBits

source ·
pub struct RflagsBits;
Expand description

RFLAGS bits, FPU condition code bits and misc bits (UIF) supported by the instruction info code

Implementations§

source§

impl RflagsBits

source

pub const NONE: u32 = 0u32

No bit is set

source

pub const OF: u32 = 1u32

RFLAGS.OF

source

pub const SF: u32 = 2u32

RFLAGS.SF

source

pub const ZF: u32 = 4u32

RFLAGS.ZF

source

pub const AF: u32 = 8u32

RFLAGS.AF

source

pub const CF: u32 = 16u32

RFLAGS.CF

source

pub const PF: u32 = 32u32

RFLAGS.PF

source

pub const DF: u32 = 64u32

RFLAGS.DF

source

pub const IF: u32 = 128u32

RFLAGS.IF

source

pub const AC: u32 = 256u32

RFLAGS.AC

source

pub const UIF: u32 = 512u32

UIF

source

pub const C0: u32 = 1_024u32

FPU status word bit C0

source

pub const C1: u32 = 2_048u32

FPU status word bit C1

source

pub const C2: u32 = 4_096u32

FPU status word bit C2

source

pub const C3: u32 = 8_192u32

FPU status word bit C3

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.