Download Print this page

Siemens C16 Series Instruction Set Manual page 94

16-bit cmos single-chip microcontrollers

Advertisement

POP
Syntax
Operation
Data Types
Description
Condition Flags
Addressing Modes
Semiconductor Group
30Mar98@15:00h
Pop Word from System Stack
POP
op1
(tmp) ← ((SP))
(SP) ← (SP) + 2
(op1) ← (tmp)
WORD
Pops one word from the system stack specified by the Stack Pointer into
the operand specified by op1. The Stack Pointer is then incremented by
two.
E
Z
*
*
E Set if the value of the popped 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 popped word equals zero. Cleared otherwise.
V Not affected.
C Not affected.
N Set if the most significant bit of the popped word is set. Cleared other-
wise.
Mnemonic
POP
reg
C166 Family Instruction Set
V
C
N
-
-
*
Format
FC RR
94
Instruction Description
Version 1.2, 12.97
POP
Bytes
2

Hide quick links:

Advertisement

loading