Infineon Technologies C166S V2 User Manual page 294

16-bit microcontroller
Table of Contents

Advertisement

RETS
Group
Syntax
Source Operand(s)
Destination Operand(s)
Operation
(IP) ← ((SP))
(SP) ← (SP) + 2
IF (CPUCON1.SGTDIS = 0) THEN
END IF
(SP) ← (SP) + 2
Description
Returns from an inter-segment subroutine. The IP and CSP are popped from the
system stack.
CPU Flags
E
Not affected.
Z
Not affected.
V
Not affected.
C
Not affected.
N
Not affected.
Encoding
Mnemonic
RETS
User Manual
Return from Inter-Segment Subroutine
Return Instructions
RETS
none
none
(CSP) ← ((SP))
E
Z
-
-
Detailed Instruction Description
V
C
-
-
Format
DB 00
8-294
User Manual
C166S V2
RETS
N
-
Bytes
2
V 1.7, 2001-01

Advertisement

Table of Contents
loading

Table of Contents