Flag register is also an 8 bit register. Out of 8 bit five are defined as flags to indicate status of the accumulator hence it is also called status register. Flags are flip flops which can be set or reset. After any arithmetical logical operation some or all flags are modified according to the result to the operation. Flag register showing the bit position reserved for various flag as shown in figure .
The Flag Register
The five flags are sign flag (A) zero flag (Z) auxiliary carry flag (AC) parity flag (P)and carry flag(CY).
Important : Flags are modified only after any arithmetical or logical operation is performed.