[][src]Function lc3tools_sys::root::run_program

pub unsafe extern "C" fn run_program(sim: *mut sim, pc: u16) -> State

Runs the program starting at the given PC.

Returns the machine state when the program halts (or raises an exception).