Download Print this page

Siemens C16 Series Instruction Set Manual page 104

16-bit cmos single-chip microcontrollers

Advertisement

SCXT
Syntax
Operation
Data Types
Description
Condition Flags
Addressing Modes
Semiconductor Group
30Mar98@15:00h
Switch Context
SCXT
op1, op2
(tmp1) ← (op1)
(tmp2) ← (op2)
(SP) ← (SP) - 2
((SP)) ← (tmp1)
(op1) ← (tmp2)
WORD
Used to switch contexts for any register. Switching context is a push and
load operation. The contents of the register specified by the first operand,
op1, are pushed onto the stack. That register is then loaded with the value
specified by the second operand, op2.
E
Z
-
-
E Not affected.
Z Not affected.
V Not affected.
C Not affected.
N Not affected.
Mnemonic
SCXT
reg, #data16
SCXT
reg, mem
C166 Family Instruction Set
V
C
N
-
-
-
Format
C6 RR ## ##
D6 RR MM MM
104
Instruction Description
SCXT
Version 1.2, 12.97
Bytes
4
4

Hide quick links:

Advertisement

loading