IP2022 Users ManualInstruction Set Architecture
www.ubicom.com
193
PUSH #lit8
Move Literal onto Top of Stack
Operation:
(SP) = lit8
SP = SP - 1
Bits affected:
None
Opcode:
0111 0100 kkkk kkkk
Description:
This instruction copies an 8-bit literal to the
register addressed by the SPH/SPL register, then
decrements the SPH/SPL register. This stack is
independent of the stack used for subroutine calls
and returns.
Cycles:
1
Example:
push 0x#FF ;push #0xFF onto stack
The push instruction in this example pushes
0xFF onto the stack.