fn cmp(&mut self, n: u8) {
        let r = self.registers.a;
        self.sub(n);
        self.registers.a = r;
    }
// CMP Compare register or memory with accumulator
CMP Compare register or memory with accumulator
CMP Compare register or memory with accumulator
fn cmp(&mut self, n: u8) {
        let r = self.registers.a;
        self.sub(n);
        self.registers.a = r;
    }
fn cmp ( & mut self , n : u8 ) { let r = self . registers . a ; self . sub ( n ) ; self . registers . a = r ; }
CMP Compare register or memory with accumulator
CMP Compare register or memory with accumulator
&mut self
n
u8
&mut self
n
u8