[−][src]Struct p8n_types::TestArch
ISA used for testing. Single digits are interpreted as 32 bit constants, lower case letters as 32 bit registers or 1 bit flags depending on the context. First argument is the result. Upper case letters are opcodes.
Instructions
'A'
Trait Implementations
impl Architecture for TestArch
[src]
type Configuration = ()
This type can describes the CPU state. For x86 this would be the mode, for ARM whenever Thumb is active. Read more
fn prepare(
_: &Region,
_: &()
) -> Result<Cow<'static, [(&'static str, u64, &'static str)]>>
[src]
_: &Region,
_: &()
) -> Result<Cow<'static, [(&'static str, u64, &'static str)]>>
fn decode(
reg: &Region,
entry: u64,
_: &(),
names: &mut Names,
segments: &mut Segments,
strings: &mut Strings,
matches: &mut Vec<Match>
) -> Result<()>
[src]
reg: &Region,
entry: u64,
_: &(),
names: &mut Names,
segments: &mut Segments,
strings: &mut Strings,
matches: &mut Vec<Match>
) -> Result<()>
impl Clone for TestArch
[src]
fn clone(&self) -> TestArch
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for TestArch
[src]
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,