Download Print this page

Siemens C16 Series Instruction Set Manual page 96

16-bit cmos single-chip microcontrollers

Advertisement

PUSH
Syntax
Operation
Data Types
Description
Condition Flags
Addressing Modes
Semiconductor Group
30Mar98@15:00h
Push Word on System Stack
PUSH
op1
(tmp) ← (op1)
(SP) ← (SP) - 2
((SP)) ← (tmp)
WORD
Moves the word specified by operand op1 to the location in the internal
system stack specified by the Stack Pointer, after the Stack Pointer has
been decremented by two.
E
Z
*
*
E Set if the value of the pushed word represents the lowest possible neg-
ative number. Cleared otherwise. Used to signal the end of a table.
Z Set if the value of the pushed word equals zero. Cleared otherwise.
V Not affected.
C Not affected.
N Set if the most significant bit of the pushed word is set. Cleared other-
wise.
Mnemonic
PUSH
reg
C166 Family Instruction Set
V
C
N
-
-
*
Format
EC RR
96
Instruction Description
PUSH
Version 1.2, 12.97
Bytes
2

Hide quick links:

Advertisement

loading