pub struct Cmos { /* private fields */ }
Implementations
Trait Implementations
sourceimpl Cpu for Cmos
impl Cpu for Cmos
fn run_instruction<S: Sys>(&mut self, sys: &mut S) -> Option<()>
fn is_nmos(&self) -> bool
fn instruction_cycle(&self) -> u32
fn reset(&mut self)
fn pc(&self) -> u16
fn set_pc(&mut self, val: u16)
fn sp(&self) -> u8
fn set_sp(&mut self, val: u8)
fn a(&self) -> u8
fn set_a(&mut self, val: u8)
fn x(&self) -> u8
fn set_x(&mut self, val: u8)
fn y(&self) -> u8
fn set_y(&mut self, val: u8)
fn halted(&self) -> bool
fn status(&self) -> u8
fn set_status(&mut self, val: u8)
fn flag(&self, f: Status) -> bool
fn set_flag(&mut self, f: Status, set: bool)
Auto Trait Implementations
impl RefUnwindSafe for Cmos
impl Send for Cmos
impl Sync for Cmos
impl Unpin for Cmos
impl UnwindSafe for Cmos
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more