[−][src]Struct lc3tools_sys::root::lc3::sim
Fields
printer: *mut IPrintersimulator: Simulatorinst_exec_count: u64total_inst_limit: u64inst_limit: u64remaining_inst_count: i64sub_depth: i32hit_internal_exception: boolpre_instruction_callback_v: boolpost_instruction_callback_v: boolinterrupt_enter_callback_v: boolinterrupt_exit_callback_v: boolexception_enter_callback_v: boolexception_exit_callback_v: boolsub_enter_callback_v: boolsub_exit_callback_v: boolwait_for_input_callback_v: boolbreakpoint_callback_v: boolpre_instruction_callback: callback_func_tpost_instruction_callback: callback_func_tinterrupt_enter_callback: callback_func_tinterrupt_exit_callback: callback_func_texception_enter_callback: callback_func_texception_exit_callback: callback_func_tsub_enter_callback: callback_func_tsub_exit_callback: callback_func_twait_for_input_callback: callback_func_tbreakpoint_callback: breakpoint_callback_func_tbreakpoint_id: u32breakpoints: vectorpropagate_exceptions: boolrun_type: sim_RunTypeImplementations
impl sim[src]
pub unsafe fn loadObjFile(&mut self, obj_filename: *const string) -> bool[src]
pub unsafe fn reinitialize(&mut self)[src]
pub unsafe fn randomize(&mut self)[src]
pub unsafe fn restart(&mut self)[src]
pub unsafe fn setRunInstLimit(&mut self, inst_limit: u64)[src]
pub unsafe fn run(&mut self) -> bool[src]
pub unsafe fn runUntilHalt(&mut self) -> bool[src]
pub unsafe fn runUntilInputPoll(&mut self) -> bool[src]
pub unsafe fn pause(&mut self)[src]
pub unsafe fn stepIn(&mut self) -> bool[src]
pub unsafe fn stepOver(&mut self) -> bool[src]
pub unsafe fn stepOut(&mut self) -> bool[src]
pub unsafe fn getMachineState(&mut self) -> *mut MachineState[src]
pub unsafe fn getMachineState1(&self) -> *const MachineState[src]
pub unsafe fn getInstExecCount(&self) -> u64[src]
pub unsafe fn didExceedInstLimit(&self) -> bool[src]
pub unsafe fn getBreakpoints(&self) -> *const vector[src]
pub unsafe fn getReg(&self, id: u16) -> u16[src]
pub unsafe fn getMem(&self, addr: u16) -> u16[src]
pub unsafe fn getMemLine(&self, addr: u16) -> string[src]
pub unsafe fn getPC(&self) -> u16[src]
pub unsafe fn getPSR(&self) -> u16[src]
pub unsafe fn getMCR(&self) -> u16[src]
pub unsafe fn getCC(&self) -> c_char[src]
pub unsafe fn setReg(&mut self, id: u16, value: u16)[src]
pub unsafe fn setMem(&mut self, addr: u16, value: u16)[src]
pub unsafe fn setMemString(&mut self, addr: u16, value: *const string)[src]
pub unsafe fn setMemLine(&mut self, addr: u16, value: *const string)[src]
pub unsafe fn setPC(&mut self, value: u16)[src]
pub unsafe fn setPSR(&mut self, value: u16)[src]
pub unsafe fn setMCR(&mut self, value: u16)[src]
pub unsafe fn setCC(&mut self, value: c_char)[src]
pub unsafe fn setBreakpoint(&mut self, addr: u16) -> Breakpoint[src]
pub unsafe fn removeBreakpointByID(&mut self, id: u32) -> bool[src]
pub unsafe fn removeBreakpointByAddr(&mut self, addr: u16) -> bool[src]
pub unsafe fn registerPreInstructionCallback(&mut self, func: callback_func_t)[src]
pub unsafe fn registerPostInstructionCallback(&mut self, func: callback_func_t)[src]
pub unsafe fn registerInterruptEnterCallback(&mut self, func: callback_func_t)[src]
pub unsafe fn registerInterruptExitCallback(&mut self, func: callback_func_t)[src]
pub unsafe fn registerExceptionEnterCallback(&mut self, func: callback_func_t)[src]
pub unsafe fn registerExceptionExitCallback(&mut self, func: callback_func_t)[src]
pub unsafe fn registerSubEnterCallback(&mut self, func: callback_func_t)[src]
pub unsafe fn registerSubExitCallback(&mut self, func: callback_func_t)[src]
pub unsafe fn registerWaitForInputCallback(&mut self, func: callback_func_t)[src]
pub unsafe fn registerBreakpointCallback(
&mut self,
func: breakpoint_callback_func_t
)[src]
&mut self,
func: breakpoint_callback_func_t
)
pub unsafe fn getPrinter(&mut self) -> *mut IPrinter[src]
pub unsafe fn getPrinter1(&self) -> *const IPrinter[src]
pub unsafe fn setPrintLevel(&mut self, print_level: u32)[src]
pub unsafe fn setPropagateExceptions(&mut self)[src]
pub unsafe fn clearPropagateExceptions(&mut self)[src]
pub unsafe fn setIgnorePrivilege(&mut self, ignore: bool)[src]
pub unsafe fn new(
printer: *mut IPrinter,
inputter: *mut IInputter,
threaded_input: bool,
print_level: u32,
propagate_exceptions: bool
) -> Self[src]
printer: *mut IPrinter,
inputter: *mut IInputter,
threaded_input: bool,
print_level: u32,
propagate_exceptions: bool
) -> Self
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for sim
impl !Send for sim
impl !Sync for sim
impl Unpin for sim
impl !UnwindSafe for sim
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>,