POP PSW Instruction
It is similar to above pop instruction but instead of normal register pairs it uses PSW as its operand. Program status word comprises of the contents of the accumulator and flag register. The instruction format is
POP PSW
Hence this instruction copies the contents of the two locations of the stack into accumulator and flag register.
Caution: All flag are replaced by the byte copied from the stack.