CHAPTER 5 EXPLANATION OF INSTRUCTIONS
103
User's Manual U12326EJ4V0UM
Pop
POP Pop
[Instruction format] POP dst
[Operation] When dst = rp When dst = PSW
dstL(SP), dst (SP)
dstH(SP+1), SP SP+1
SP SP+2
[Operand]
Mnemonic Operand(dst)
POP PSW
rp
[Flag]
dst =rp PSW
Z AC CY Z AC CY
RRR
[Description]
Data is returned from the stack to the register specified by the destination operand (dst).
When the operand is PSW, each flag is replaced with stack data.
None of interrupts are acknowledged between the POP PSW instruction and the subsequent instruction.
[Description example]
POP AX; The stack data is returned to the AX register.