![Siemens C500 User Manual Download Page 90](http://html.mh-extra.com/html/siemens/c500/c500_user-manual_382114090.webp)
Instruction Set
C500 Family
Semiconductor Group
4-64
1998-04-01
PUSH
direct
Function:
Push onto stack
Description:
The stack pointer is incremented by one. The contents of the indicated variable is
then copied into the internal RAM location addressed by the stack pointer.
Otherwise no flags are affected.
Example:
On entering an interrupt routine the stack pointer contains 09H. The data pointer
holds the value 0123H. The instruction sequence
PUSH
DPL
PUSH
DPH
will leave the stack pointer set to 0BH and store 23H and 01H in internal RAM
locations 0AH and 0BH, respectively.
Operation:
PUSH
(SP)
¬
(SP) + 1
((SP))
¬
(direct)
Bytes:
2
Cycles:
2
Encoding:
1 1 0 0
0 0 0 0
direct address