Siemens C500 User Manual page 90

Microcontroller family
Table of Contents

Advertisement

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 09 H . The data pointer
holds the value 0123 H . The instruction sequence
PUSH
PUSH
will leave the stack pointer set to 0B H and store 23 H and 01 H in internal RAM
locations 0A H and 0B H , respectively.
Operation:
PUSH
(SP) ¬ (SP) + 1
((SP)) ¬ (direct)
Encoding:
1 1 0 0
Bytes:
2
Cycles:
2
Semiconductor Group
DPL
DPH
0 0 0 0
direct address
4-64
Instruction Set
C500 Family
1998-04-01

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents