fn txa(&mut self) -> bool {
        self.acc = self.x;

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

        false
    }
// TXA: Transfer X to A
// Affects: N Z
Transfer X to A
Affects: N Z
Transfer X to A Affects : N Z
fn txa(&mut self) -> bool {
        self.acc = self.x;
        self.flags.set(Flags::N, self.acc == 0);
        self.flags.set(Flags::Z, (self.acc & 0x80) != 0);
        false
    }
fn txa ( & mut self ) -> bool { self . acc = self . x ; self . flags . set ( Flags :: N , self . acc == 0 ) ; self . flags . set ( Flags :: Z , ( self . acc & 0x80 ) != 0 ) ; false }
TXA: Transfer X to A
Affects: N Z
TXA : Transfer X to A Affects : N Z
&mut self