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

        let sub = self.y.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.y >= self.fetched);

        true
    }
// CPY: Compare Y register
// Affects: N Z C
Compare Y register
Affects: N Z C
Compare Y register Affects : N Z C
fn cpy(&mut self) -> bool {
        self.fetch();
        let sub = self.y.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.y >= self.fetched);
        true
    }
fn cpy ( & mut self ) -> bool { self . fetch ( ) ; let sub = self . y . 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 . y >= self . fetched ) ; true }
CPY: Compare Y register
Affects: N Z C
CPY : Compare Y register Affects : N Z C
&mut self