POP
[Instruction format]
[Operation]
[Operand]
Mnemonic
POP
PSW
rp
[Flag]
dst =rp
Z
AC
[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.
CHAPTER 5 EXPLANATION OF INSTRUCTIONS
POP dst
When dst = rp
← (SP),
dst
L
← (SP+1),
dst
H
SP ← SP+2
Operand(dst)
PSW
CY
Z
R
User's Manual U12326EJ4V0UM
When dst = PSW
dst ← (SP)
SP ← SP+1
AC
CY
R
R
Pop
Pop
103