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§
Source§impl 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§
Source§impl Clone for SuperHDecoder
impl Clone for SuperHDecoder
Source§fn clone(&self) -> SuperHDecoder
fn clone(&self) -> SuperHDecoder
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SuperHDecoder
impl Debug for SuperHDecoder
Source§impl Decoder<SuperH> for SuperHDecoder
impl Decoder<SuperH> for SuperHDecoder
Source§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>
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 moreSource§impl Default for SuperHDecoder
impl Default for SuperHDecoder
Source§fn default() -> SuperHDecoder
fn default() -> SuperHDecoder
Returns the “default value” for a type. Read more
Source§impl Hash for SuperHDecoder
impl Hash for SuperHDecoder
Source§impl Ord for SuperHDecoder
impl Ord for SuperHDecoder
Source§fn cmp(&self, other: &SuperHDecoder) -> Ordering
fn cmp(&self, other: &SuperHDecoder) -> Ordering
1.21.0 · Source§fn 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
Source§impl PartialEq for SuperHDecoder
impl PartialEq for SuperHDecoder
Source§impl PartialOrd for SuperHDecoder
impl PartialOrd for SuperHDecoder
impl Copy for SuperHDecoder
impl Eq for SuperHDecoder
impl StructuralPartialEq for SuperHDecoder
Auto Trait Implementations§
impl Freeze for SuperHDecoder
impl RefUnwindSafe for SuperHDecoder
impl Send for SuperHDecoder
impl Sync for SuperHDecoder
impl Unpin for SuperHDecoder
impl UnwindSafe for SuperHDecoder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more