Struct 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>,

Source§

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>,

Source§

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.