Instruction Set ArchitectureIP2022 Users Manual
192
www.ubicom.com
PUSH fr
Move fr onto Top of Stack
Operation:
(SP) = fr
SP = SP - 1
Bits affected:
None
Opcode:
0100 010f ffff ffff
Description:
This instruction copies the specified data memory
location to the register addressed by the
SPH/SPL register, then decrements the SPH/SPL
register. This stack is independent of the
hardware stack used for subroutine calls and
returns.
Cycles:
1
Example:
push 0x1F0 ;push 0x1F0 onto stack
The push instruction in this example pushes the
contents of the data memory location at address
0x1F0 onto the stack.