pub fn reset(&mut self) {
        self.state = State::HasBeenReset;
        self.s = 0;
        self.p = P_1|P_I;
    }
/// Resets the CPU. Execution will flounder for a few cycles, then fetch
/// the reset vector and "start over".
Resets the CPU. Execution will flounder for a few cycles, then fetch
the reset vector and "start over".
Resets the CPU . Execution will flounder for a few cycles then fetch the reset vector and " start over " .
pub fn reset(&mut self) {
        self.state = State::HasBeenReset;
        self.s = 0;
        self.p = P_1|P_I;
    }
pub fn reset ( & mut self ) { self . state = State :: HasBeenReset ; self . s = 0 ; self . p = P_1 | P_I ; }
Resets the CPU.
Resets the CPU .
&mut self
&mut self