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