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 with the destination operand (dst).
•
When the operand is PSW, each flag is replaced with stack data.
•
No 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
When dst = PSW
← (SP),
dst ← (SP)
dst
L
← (SP + 1),
SP ← SP + 1
dst
H
← SP + 2
SP
Operand (dst)
PSW
CY
Z
R
User's Manual U11047EJ3V0UM00
AC
CY
R
R
Pop
Pop
99