fn xra(&mut self, n: u8) {
        let a = self.registers.a;
        let r = a ^ n;
        self.flags.z = r == 0x00;
        self.flags.s = bit::get(r, 7);
        self.flags.p = r.count_ones() & 0x01 == 0x00;
        self.flags.c = false;
        self.flags.a = false;
        self.registers.a = r;
    }
// XRA Logical Exclusive-OR register or memory with accumulator
XRA Logical Exclusive-OR register or memory with accumulator
XRA Logical Exclusive - OR register or memory with accumulator
fn xra(&mut self, n: u8) {
        let a = self.registers.a;
        let r = a ^ n;
        self.flags.z = r == 0x00;
        self.flags.s = bit::get(r, 7);
        self.flags.p = r.count_ones() & 0x01 == 0x00;
        self.flags.c = false;
        self.flags.a = false;
        self.registers.a = r;
    }
fn xra ( & mut self , n : u8 ) { let a = self . registers . a ; let r = a ^ n ; self . flags . z = r == 0x00 ; self . flags . s = bit :: get ( r , 7 ) ; self . flags . p = r . count_ones ( ) & 0x01 == 0x00 ; self . flags . c = false ; self . flags . a = false ; self . registers . a = r ; }
XRA Logical Exclusive-OR register or memory with accumulator
XRA Logical Exclusive - OR register or memory with accumulator
&mut self
n
u8
&mut self
n
u8