English
Language : 

M166 Datasheet, PDF (101/127 Pages) Siemens Semiconductor Group – C16x Family of Siemens 16-Bit CMOS Single-Chip Microcontrollers
30Mar98@15:00h
C166 Family Instruction Set
Instruction Description
RETS
Return from Inter-Segment Subroutine
RETS
Syntax
Operation
Description
RETS
(IP) ← ((SP))
(SP) ← (SP) + 2
(CSP) ← ((SP))
(SP) ← (SP) + 2
Returns from an inter-segment subroutine. The IP and CSP are popped
from the system stack. Execution resumes at the instruction following the
CALLS instruction in the calling routine.
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
RETS
Format
DB 00
Bytes
2
Semiconductor Group
101
Version 1.2, 12.97