EasyManuals Logo

Analog Devices adsp-2100 User Manual

Analog Devices adsp-2100
486 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #402 background imageLoading...
Page #402 background image
15
15 – 79
Syntax: [ IF cond ] RTS ;
Permissible conds (see Table 15.9)
EQ NE GT GE LT
LE NEG POS AV NOT AV
AC NOT AC MV NOT MV NOT CE
Example: IF LE RTS ;
Description: Test the optional condition and, if true, then perform the
specified return. If the condition is not true then perform a no-operation.
Omitting the condition performs the return unconditionally. RTS executes
a program return from a subroutine. The address on top of the PC stack is
popped and is used as the return address. The PC stack is the only stack
popped.
If RTS is the last instruction inside a DO UNTIL loop, you must ensure
that the loop stacks are properly handled.
Status Generated: None affected.
Instruction Field:
Conditional Return, Instruction Type 20:
23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 COND
PROGRAM FLOW
RTS

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Analog Devices adsp-2100 and is the answer not in the manual?

Analog Devices adsp-2100 Specifications

General IconGeneral
BrandAnalog Devices
Modeladsp-2100
CategoryComputer Hardware
LanguageEnglish

Related product manuals