Struct yaxpeax_superh::SuperHDecoder
source · [−]pub struct SuperHDecoder {
pub little_endian: bool,
pub fpscr_sz: bool,
pub level: SuperHLevel,
pub features: SuperHFeatures,
}
Fields
little_endian: bool
fpscr_sz: bool
When FPSCR.SZ
= 1, the SH-4 CPU core can perform data transfer by means of pair single-precision data transfer
instructions.
http://www.st.com/st-web-ui/static/active/en/resource/technical/document/user_manual/CD00147165.pdf Section 6.5.2 “Pair single-precision data transfer” p. 154
level: SuperHLevel
features: SuperHFeatures
Implementations
sourceimpl SuperHDecoder
impl SuperHDecoder
sourcepub const SH1: SuperHDecoder = _
pub const SH1: SuperHDecoder = _
SuperH CPU in little-endian mode
sourcepub const SH2: SuperHDecoder = _
pub const SH2: SuperHDecoder = _
SH-2 CPU in little-endian mode
sourcepub const J2: SuperHDecoder = _
pub const J2: SuperHDecoder = _
J-core J2 CPU in little-endian mode
sourcepub const SH3: SuperHDecoder = _
pub const SH3: SuperHDecoder = _
SH-3 CPU with MMU in little-endian mode
sourcepub const SH4: SuperHDecoder = _
pub const SH4: SuperHDecoder = _
SH-4 CPU with MMU and FPU (double-precision instructions off) in little-endian mode
Trait Implementations
sourceimpl Clone for SuperHDecoder
impl Clone for SuperHDecoder
sourcefn clone(&self) -> SuperHDecoder
fn clone(&self) -> SuperHDecoder
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for SuperHDecoder
impl Debug for SuperHDecoder
sourceimpl Decoder<SuperH> for SuperHDecoder
impl Decoder<SuperH> for SuperHDecoder
sourcefn decode_into<T: Reader<<SuperH as Arch>::Address, <SuperH as Arch>::Word>>(
&self,
inst: &mut SuperHInstruction,
words: &mut T
) -> Result<(), <SuperH as Arch>::DecodeError>
fn decode_into<T: Reader<<SuperH as Arch>::Address, <SuperH as Arch>::Word>>(
&self,
inst: &mut SuperHInstruction,
words: &mut T
) -> Result<(), <SuperH as Arch>::DecodeError>
decode one instruction for this architecture from the
crate::Reader
of this
architecture’s Word
, writing into the provided inst
. Read moresourceimpl Default for SuperHDecoder
impl Default for SuperHDecoder
sourcefn default() -> SuperHDecoder
fn default() -> SuperHDecoder
Returns the “default value” for a type. Read more
sourceimpl Hash for SuperHDecoder
impl Hash for SuperHDecoder
sourceimpl Ord for SuperHDecoder
impl Ord for SuperHDecoder
sourcefn cmp(&self, other: &SuperHDecoder) -> Ordering
fn cmp(&self, other: &SuperHDecoder) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<SuperHDecoder> for SuperHDecoder
impl PartialEq<SuperHDecoder> for SuperHDecoder
sourcefn eq(&self, other: &SuperHDecoder) -> bool
fn eq(&self, other: &SuperHDecoder) -> bool
sourceimpl PartialOrd<SuperHDecoder> for SuperHDecoder
impl PartialOrd<SuperHDecoder> for SuperHDecoder
sourcefn partial_cmp(&self, other: &SuperHDecoder) -> Option<Ordering>
fn partial_cmp(&self, other: &SuperHDecoder) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for SuperHDecoder
impl Eq for SuperHDecoder
impl StructuralEq for SuperHDecoder
impl StructuralPartialEq for SuperHDecoder
Auto Trait Implementations
impl RefUnwindSafe for SuperHDecoder
impl Send for SuperHDecoder
impl Sync for SuperHDecoder
impl Unpin for SuperHDecoder
impl UnwindSafe for SuperHDecoder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more