fn tya(&mut self) -> bool {
        self.acc = self.y;

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

        false
    }
// TAY: Transfer Y to A
// Affects: N Z
Transfer Y to A
Affects: N Z
Transfer Y to A Affects : N Z
fn tya(&mut self) -> bool {
        self.acc = self.y;
        self.flags.set(Flags::N, self.acc == 0);
        self.flags.set(Flags::Z, (self.acc & 0x80) != 0);
        false
    }
fn tya ( & mut self ) -> bool { self . acc = self . y ; self . flags . set ( Flags :: N , self . acc == 0 ) ; self . flags . set ( Flags :: Z , ( self . acc & 0x80 ) != 0 ) ; false }
TAY: Transfer Y to A
Affects: N Z
TAY : Transfer Y to A Affects : N Z
&mut self