pub fn new() -> W65C02S {
        W65C02S {
            state: State::HasBeenReset,
            pc: 0xFFFF,
            a: 0xFF,
            x: 0xFF,
            y: 0xFF,
            s: 0xFF,
            p: P_1|P_I,
            irq: false, irq_pending: false,
            nmi: false, nmi_edge: false, nmi_pending: false,
        }
    }
/// Creates a new `W65C02S` instance, initialized in a newly-reset state.
/// (Unlike a real W65C02S, most registers will be in the all-ones state at
/// this point.)
Creates a new `W65C02S` instance, initialized in a newly-reset state.
(Unlike a real W65C02S, most registers will be in the all-ones state at
this point.)
Creates a new ` W65C02S ` instance initialized in a newly - reset state . ( Unlike a real W65C02S most registers will be in the all - ones state at this point . )
pub fn new() -> W65C02S {
        W65C02S {
            state: State::HasBeenReset,
            pc: 0xFFFF,
            a: 0xFF,
            x: 0xFF,
            y: 0xFF,
            s: 0xFF,
            p: P_1|P_I,
            irq: false, irq_pending: false,
            nmi: false, nmi_edge: false, nmi_pending: false,
        }
    }
pub fn new ( ) -> W65C02S { W65C02S { state : State :: HasBeenReset , pc : 0xFFFF , a : 0xFF , x : 0xFF , y : 0xFF , s : 0xFF , p : P_1 | P_I , irq : false , irq_pending : false , nmi : false , nmi_edge : false , nmi_pending : false , } }
Creates a new `W65C02S` instance, initialized in a newly-reset state.
Creates a new ` W65C02S ` instance initialized in a newly - reset state .