User’s Manual
C166S V1 SubSystem
Detailed Instruction Set
User’s Manual
6-85
V 1.6, 2001-08
SCXT
Switch Context
SCXT
Group
System Stack Instructions
Syntax
SCXT op1, op2
Source Operand(s)
op1, op2
→
WORD
Destination Operand(s)
op1
→
WORD
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
E
Z
V
C
N
-
-
-
-
-
Mnemonic
Format
Bytes
SCXT
reg , #data16
C6 RR ## ##
4
SCXT
reg , mem
D6 RR MM MM
4
Содержание C166S V1 SubSystem
Страница 10: ...User s Manual C166S V1 SubSystem User s Manual I 6 V 1 6 2001 08...
Страница 16: ...User s Manual C166S V1 SubSystem Introduction User s Manual 1 6 V 1 6 2001 08...
Страница 126: ...User s Manual C166S V1 SubSystem Central Processing Unit User s Manual 3 96 V 1 6 2001 08...
Страница 178: ...User s Manual C166S V1 SubSystem Memory Organization User s Manual 4 52 V 1 6 2001 08...
Страница 206: ...User s Manual C166S V1 SubSystem Instruction Set User s Manual 5 28 V 1 6 2001 08...
Страница 306: ...User s Manual C166S V1 SubSystem Detailed Instruction Set User s Manual 6 100 V 1 6 2001 08...
Страница 362: ...User s Manual C166S V1 SubSystem The External Bus Interface User s Manual 8 40 V 1 6 2001 08...
Страница 452: ...User s Manual C166S V1 SubSystem General Purpose Timer Unit User s Manual 12 44 V 1 6 2001 08...
Страница 454: ...User s Manual C166S V1 SubSystem Instruction Index User s Manual 13 2 V 1 6 2001 08...
Страница 459: ......