[][src]Struct mos6502::cpu::CPU

pub struct CPU {
    pub registers: Registers,
    pub memory: Memory,
}

Fields

registers: Registersmemory: Memory

Implementations

impl CPU[src]

pub fn new() -> CPU[src]

pub fn reset(&mut self)[src]

pub fn fetch_next_and_decode(&mut self) -> Option<DecodedInstr>[src]

pub fn execute_instruction(&mut self, decoded_instr: DecodedInstr)[src]

pub fn run(&mut self)[src]

Trait Implementations

impl Clone for CPU[src]

impl Debug for CPU[src]

Auto Trait Implementations

impl Send for CPU[src]

impl Sync for CPU[src]

impl Unpin for CPU[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.