pub enum Flag {
C = 1,
N = 2,
P = 4,
_3 = 8,
H = 16,
_5 = 32,
Z = 64,
S = 128,
}
Expand description
Z80 flags
Variants§
C = 1
Carry flag
N = 2
Negative flag
P = 4
Parity or overflow flag
_3 = 8
Undocumented third flag
H = 16
Half carry flag
_5 = 32
Undocumented fifth flag
Z = 64
Zero flag
S = 128
Sign flag
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Flag
impl Send for Flag
impl Sync for Flag
impl Unpin for Flag
impl UnwindSafe for Flag
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more