English
Language : 

TMS320C4X Datasheet, PDF (620/726 Pages) Texas Instruments – Digital Signal Processing Solutions
Syntax
Operands
Opcode
Word Fields
Operation
Description
Status Bits
Mode Bit
Cycles
Example
RETScond
None
Return From Subroutine Conditionally RETScond
31
24 23
16 15
87
0
0 1 1 1 1 0 0 0 1 0 0 cond 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
None
If cond is true:
*SP–– → PC.
Else, continue.
A conditional return is performed. If the condition is true, the top of the stack
is popped to the PC.
The ’C4x provides 20 condition codes that can be used with this instruction
(see Section 14.2 for a list of condition mnemonics, encoding, and flags).
LUF Unaffected
LV Unaffected
UF Unaffected
N Unaffected
Z Unaffected
V Unaffected
C Unaffected
OVM operation is not affected by OVM bit value.
4
RETSGE
Before Instruction
PC
123h
SP
80 983Ch
Data at 80 983Ch
456h
LUF
0
LV
0
UF
0
N
0
Z
0
V
0
C
0
After Instruction
PC
456h
SP
80 983Bh
Data at 80 983Ch
456h
LUF
0
LV
0
UF
0
N
0
Z
0
V
0
C
0
Assembly Language Instructions 14-215