Struct csx64::exec::registers::Flags [−][src]
The CPU flags register.
Implementations
impl Flags
[src]
pub const MASK_CF: u64
[src]
pub fn set_cf(&mut self)
[src]
pub fn clear_cf(&mut self)
[src]
pub fn flip_cf(&mut self)
[src]
pub const fn get_cf(self) -> bool
[src]
pub fn assign_cf(&mut self, value: bool)
[src]
pub const MASK_PF: u64
[src]
pub fn set_pf(&mut self)
[src]
pub fn clear_pf(&mut self)
[src]
pub fn flip_pf(&mut self)
[src]
pub const fn get_pf(self) -> bool
[src]
pub fn assign_pf(&mut self, value: bool)
[src]
pub const MASK_AF: u64
[src]
pub fn set_af(&mut self)
[src]
pub fn clear_af(&mut self)
[src]
pub fn flip_af(&mut self)
[src]
pub const fn get_af(self) -> bool
[src]
pub fn assign_af(&mut self, value: bool)
[src]
pub const MASK_ZF: u64
[src]
pub fn set_zf(&mut self)
[src]
pub fn clear_zf(&mut self)
[src]
pub fn flip_zf(&mut self)
[src]
pub const fn get_zf(self) -> bool
[src]
pub fn assign_zf(&mut self, value: bool)
[src]
pub const MASK_SF: u64
[src]
pub fn set_sf(&mut self)
[src]
pub fn clear_sf(&mut self)
[src]
pub fn flip_sf(&mut self)
[src]
pub const fn get_sf(self) -> bool
[src]
pub fn assign_sf(&mut self, value: bool)
[src]
pub const MASK_TF: u64
[src]
pub fn set_tf(&mut self)
[src]
pub fn clear_tf(&mut self)
[src]
pub fn flip_tf(&mut self)
[src]
pub const fn get_tf(self) -> bool
[src]
pub fn assign_tf(&mut self, value: bool)
[src]
pub const MASK_IF: u64
[src]
pub fn set_if(&mut self)
[src]
pub fn clear_if(&mut self)
[src]
pub fn flip_if(&mut self)
[src]
pub const fn get_if(self) -> bool
[src]
pub fn assign_if(&mut self, value: bool)
[src]
pub const MASK_DF: u64
[src]
pub fn set_df(&mut self)
[src]
pub fn clear_df(&mut self)
[src]
pub fn flip_df(&mut self)
[src]
pub const fn get_df(self) -> bool
[src]
pub fn assign_df(&mut self, value: bool)
[src]
pub const MASK_OF: u64
[src]
pub fn set_of(&mut self)
[src]
pub fn clear_of(&mut self)
[src]
pub fn flip_of(&mut self)
[src]
pub const fn get_of(self) -> bool
[src]
pub fn assign_of(&mut self, value: bool)
[src]
pub const MASK_NT: u64
[src]
pub fn set_nt(&mut self)
[src]
pub fn clear_nt(&mut self)
[src]
pub fn flip_nt(&mut self)
[src]
pub const fn get_nt(self) -> bool
[src]
pub fn assign_nt(&mut self, value: bool)
[src]
pub const MASK_RF: u64
[src]
pub fn set_rf(&mut self)
[src]
pub fn clear_rf(&mut self)
[src]
pub fn flip_rf(&mut self)
[src]
pub const fn get_rf(self) -> bool
[src]
pub fn assign_rf(&mut self, value: bool)
[src]
pub const MASK_VM: u64
[src]
pub fn set_vm(&mut self)
[src]
pub fn clear_vm(&mut self)
[src]
pub fn flip_vm(&mut self)
[src]
pub const fn get_vm(self) -> bool
[src]
pub fn assign_vm(&mut self, value: bool)
[src]
pub const MASK_AC: u64
[src]
pub fn set_ac(&mut self)
[src]
pub fn clear_ac(&mut self)
[src]
pub fn flip_ac(&mut self)
[src]
pub const fn get_ac(self) -> bool
[src]
pub fn assign_ac(&mut self, value: bool)
[src]
pub const MASK_VIF: u64
[src]
pub fn set_vif(&mut self)
[src]
pub fn clear_vif(&mut self)
[src]
pub fn flip_vif(&mut self)
[src]
pub const fn get_vif(self) -> bool
[src]
pub fn assign_vif(&mut self, value: bool)
[src]
pub const MASK_VIP: u64
[src]
pub fn set_vip(&mut self)
[src]
pub fn clear_vip(&mut self)
[src]
pub fn flip_vip(&mut self)
[src]
pub const fn get_vip(self) -> bool
[src]
pub fn assign_vip(&mut self, value: bool)
[src]
pub const MASK_ID: u64
[src]
pub fn set_id(&mut self)
[src]
pub fn clear_id(&mut self)
[src]
pub fn flip_id(&mut self)
[src]
pub const fn get_id(self) -> bool
[src]
pub fn assign_id(&mut self, value: bool)
[src]
pub const MASK_IOPL: u64
[src]
pub const fn get_iopl(self) -> u8
[src]
pub fn assign_iopl(&mut self, val: u8)
[src]
pub const MASK_OTS: u64
[src]
pub fn set_ots(&mut self)
[src]
pub fn clear_ots(&mut self)
[src]
pub fn flip_ots(&mut self)
[src]
pub const fn get_ots(self) -> bool
[src]
pub fn assign_ots(&mut self, value: bool)
[src]
pub const fn condition_b(self) -> bool
[src]
Checks the “below” condition.
pub const fn condition_be(self) -> bool
[src]
Checks the “below or equal” condition.
pub const fn condition_a(self) -> bool
[src]
Checks the “above” condition.
pub const fn condition_ae(self) -> bool
[src]
Checks the “above or equal” condition.
pub const fn condition_l(self) -> bool
[src]
Checks the “less than” condition.
pub const fn condition_le(self) -> bool
[src]
Checks the “less or equal” condition.
pub const fn condition_g(self) -> bool
[src]
Checks the “greater than” condition.
pub const fn condition_ge(self) -> bool
[src]
Checks the “greater or equal” condition.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Flags
impl Send for Flags
impl Sync for Flags
impl Unpin for Flags
impl UnwindSafe for Flags
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Az for T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> CheckedAs for T
[src]
pub fn checked_as<Dst>(self) -> Option<Dst> where
T: CheckedCast<Dst>,
[src]
T: CheckedCast<Dst>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> OverflowingAs for T
[src]
pub fn overflowing_as<Dst>(self) -> (Dst, bool) where
T: OverflowingCast<Dst>,
[src]
T: OverflowingCast<Dst>,
impl<T> SaturatingAs for T
[src]
pub fn saturating_as<Dst>(self) -> Dst where
T: SaturatingCast<Dst>,
[src]
T: SaturatingCast<Dst>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> UnwrappedAs for T
[src]
pub fn unwrapped_as<Dst>(self) -> Dst where
T: UnwrappedCast<Dst>,
[src]
T: UnwrappedCast<Dst>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> WrappingAs for T
[src]
pub fn wrapping_as<Dst>(self) -> Dst where
T: WrappingCast<Dst>,
[src]
T: WrappingCast<Dst>,