fn cnz_p(&mut self, c: bool, v: u8) {
        self.p = (self.p & 0x7F) | (v & 0x80);
        if v == 0 { self.p |= P_Z; }
        else { self.p &= !P_Z; }
        if c { self.p |= P_C; }
        else { self.p &= !P_C; }
    }
/// Set N and Z flags according to the argument value, and the C flag
/// according to the argument.
Set N and Z flags according to the argument value, and the C flag
according to the argument.
Set N and Z flags according to the argument value and the C flag according to the argument .
fn cnz_p(&mut self, c: bool, v: u8) {
        self.p = (self.p & 0x7F) | (v & 0x80);
        if v == 0 { self.p |= P_Z; }
        else { self.p &= !P_Z; }
        if c { self.p |= P_C; }
        else { self.p &= !P_C; }
    }
fn cnz_p ( & mut self , c : bool , v : u8 ) { self . p = ( self . p & 0x7F ) | ( v & 0x80 ) ; if v == 0 { self . p |= P_Z ; } else { self . p &= ! P_Z ; } if c { self . p |= P_C ; } else { self . p &= ! P_C ; } }
Set N and Z flags according to the argument value, and the C flag
according to the argument.
Set N and Z flags according to the argument value and the C flag according to the argument .
&mut self
c
bool
v
u8
&mut self
c
bool
v
u8