Renesas Electronics
POP
Restoring data from stack to register
POP data from the stack
[Syntax]
POP dest
[Operation]
tmp = *SP;
SP = SP + 4;
dest = tmp;
[Function]
-
This instruction restores data from the stack and transfers it to dest.
The stack pointer in use is specified by the U bit in the PSW.
[Instruction Format]
Syntax
Processng Size
Operand
Code Size
(Byte)
dest
L
Rd
2
[Flag Change]
This instruction does not affect the states of flags.
[Description Example]
POP R1