IP2022 Users ManualInstruction Set Architecture
www.ubicom.com
191
POP fr
Move Top of Stack into fr
Operation:
SP = SP + 1;
fr = (SP)
Bits affected:
None
Opcode:
0100 011f ffff ffff
Description:
This instruction increments the SPH/SPL register,
then copies the register addressed by the
SPH/SPL register to the specified data memory
location. This stack is independent of the
hardware stack used for subroutine calls and
returns.
Cycles:
1
Example:
pop 0x1F0 ;pop stack to 0x1F0
The pop instruction in this example pops a byte
off the stack and loads it into the data memory
location at address 0x1F0.