fn cmp(&mut self) -> bool {
        self.fetch();

        let sub = self.acc.wrapping_sub(self.fetched);

        self.flags.set(Flags::N, sub & 0x80 != 0);
        self.flags.set(Flags::Z, sub == 0);
        self.flags.set(Flags::C, self.acc >= self.fetched);

        true
    }
// CMP: Compare memory with accumulator
// Affects: N Z C
Compare memory with accumulator
Affects: N Z C
Compare memory with accumulator Affects : N Z C
fn cmp(&mut self) -> bool {
        self.fetch();
        let sub = self.acc.wrapping_sub(self.fetched);
        self.flags.set(Flags::N, sub & 0x80 != 0);
        self.flags.set(Flags::Z, sub == 0);
        self.flags.set(Flags::C, self.acc >= self.fetched);
        true
    }
fn cmp ( & mut self ) -> bool { self . fetch ( ) ; let sub = self . acc . wrapping_sub ( self . fetched ) ; self . flags . set ( Flags :: N , sub & 0x80 != 0 ) ; self . flags . set ( Flags :: Z , sub == 0 ) ; self . flags . set ( Flags :: C , self . acc >= self . fetched ) ; true }
CMP: Compare memory with accumulator
Affects: N Z C
CMP : Compare memory with accumulator Affects : N Z C
&mut self