[−][src]Struct lc3tools_sys::root::lc3::core::MachineState
Fields
mem: vector
regs: [u32; 8]
pc: u32
sys_call_types: stack<deque>
logger: *mut Logger
pre_instruction_callback_v: bool
post_instruction_callback_v: bool
interrupt_enter_callback_v: bool
interrupt_exit_callback_v: bool
exception_enter_callback_v: bool
exception_exit_callback_v: bool
sub_enter_callback_v: bool
sub_exit_callback_v: bool
wait_for_input_callback_v: bool
pre_instruction_callback: callback_func_t
post_instruction_callback: callback_func_t
interrupt_enter_callback: callback_func_t
interrupt_exit_callback: callback_func_t
exception_enter_callback: callback_func_t
exception_exit_callback: callback_func_t
sub_enter_callback: callback_func_t
sub_exit_callback: callback_func_t
wait_for_input_callback: callback_func_t
simulator: *mut sim
ignore_privilege: bool
Implementations
impl MachineState
[src]
pub unsafe fn readMemEvent(
&self,
addr: u32,
change_mem: *mut bool,
change: *mut shared_ptr
) -> u32
[src]
&self,
addr: u32,
change_mem: *mut bool,
change: *mut shared_ptr
) -> u32
pub unsafe fn readMemSafe(&mut self, addr: u32) -> u32
[src]
pub unsafe fn readMemRaw(&self, addr: u32) -> u32
[src]
pub unsafe fn writeMemEvent(
&mut self,
addr: u32,
value: u16,
change_mem: *mut bool,
change: *mut shared_ptr
)
[src]
&mut self,
addr: u32,
value: u16,
change_mem: *mut bool,
change: *mut shared_ptr
)
pub unsafe fn writeMemSafe(&mut self, addr: u32, value: u16)
[src]
pub unsafe fn writeMemRaw(&mut self, addr: u32, value: u16)
[src]
Trait Implementations
impl Default for MachineState
[src]
Auto Trait Implementations
impl !RefUnwindSafe for MachineState
impl !Send for MachineState
impl !Sync for MachineState
impl Unpin for MachineState
impl !UnwindSafe for MachineState
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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.
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>,