English
Language : 

M166 Datasheet, PDF (104/127 Pages) Siemens Semiconductor Group – C16x Family of Siemens 16-Bit CMOS Single-Chip Microcontrollers
30Mar98@15:00h
C166 Family Instruction Set
Instruction Description
SCXT
Switch Context
SCXT
Syntax
Operation
Data Types
Description
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.
Condition Flags
E
Z
V
C
N
-
-
-
-
-
Addressing Modes
E Not affected.
Z Not affected.
V Not affected.
C Not affected.
N Not affected.
Mnemonic
SCXT
reg, #data16
SCXT
reg, mem
Format
C6 RR ## ##
D6 RR MM MM
Bytes
4
4
Semiconductor Group
104
Version 1.2, 12.97