Infineon Technologies C166S V2 User Manual page 300

16-bit microcontroller
Table of Contents

Advertisement

SCXT
Group
Syntax
Source Operand(s)
Destination Operand(s)
Operation
(tmp1) ← (op1)
(tmp2) ← (op2)
(SP) ← (SP) - 2
((SP)) ← (tmp1)
(op1) ← (tmp2)
Description
Switches contexts of 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.
CPU Flags
E
Not affected.
Z
Not affected.
V
Not affected.
C
Not affected.
N
Not affected.
Encoding
Mnemonic
SCXT
reg , #data16
SCXT
reg , mem
User Manual
Switch Context
System Stack Instructions
SCXT op1, op2
op1, op2 → WORD
op1 → WORD
E
Z
-
-
Detailed Instruction Description
V
C
-
-
Format
C6 RR ## ##
D6 RR MM MM
8-300
User Manual
C166S V2
SCXT
N
-
Bytes
4
4
V 1.7, 2001-01

Advertisement

Table of Contents
loading

Table of Contents