PSW (Program Status Word) Definition
The Intel 8085 microprocessor contains 5 flip-flops to serve as status flags which are indicated by five bits and three bits are undefined. The combination of these 8 bits is known as Program Status Word. Both, PSW and accumulator are treated as a 16-bit unit for stack operations.
Five status flags are:
- Carry Flag (CS)
- Parity Flag (P)
- Auxiliary carry Flag (AC)
- Zero Flag (Z)
- Sign Flag (S)