The Processor Status Register (P) is on the 65c816 and contains several flags:
It can be pulled from the stack via PLP and RTI.