// SPDX-License-Identifier: MIT //! The PSW bits, N V P B H I Z C from bit 7 down (`_flags.py`; the reference's //! docs/start-here.md "Registers"). pub const FLAG_N: u8 = 0x80; pub const FLAG_V: u8 = 0x40; pub const FLAG_P: u8 = 0x20; // direct page select: 0 = $00xx, 1 = $01xx pub const FLAG_B: u8 = 0x10; pub const FLAG_H: u8 = 0x08; pub const FLAG_I: u8 = 0x04; // no function on the S-SMP, which has no interrupt sources (U11) pub const FLAG_Z: u8 = 0x02; pub const FLAG_C: u8 = 0x01;