Motorola DSP96002 User Manual page 486

32-bit digital signal processor
Table of Contents

Advertisement

RTR
Return from Subroutine with Restore
Operation:
SSH
PC; SSL
SR; SP – 1
Description:
The program counter and the status register are pulled from the system stack. The subroutine program
counter and status register are lost. RTR if functionally identical to RTI but has been made a separate in-
struction to be upward compatible with future parts and to simplify porting software.
Due to pipelining, the RTR instruction must not be immediately preceded by some instructions. See Sec-
tion A.10 for the list of restricted instructions.
CCR Condition Codes:
C
- Set according to value pulled from stack.
V
- Set according to value pulled from stack.
Z
- Set according to value pulled from stack.
N
- Set according to value pulled from stack.
I
- Set according to value pulled from stack.
LR
- Set according to value pulled from stack.
R
- Set according to value pulled from stack.
A
- Set according to value pulled from stack.
ER Status Bits:
INX
-Set according to value pulled from stack.
DZ
-Set according to value pulled from stack.
UNF
-Set according to value pulled from stack.
OVF
-Set according to value pulled from stack.
OPERR-Set according to value pulled from stack.
SNAN -Set according to value pulled from stack.
NAN
-Set according to value pulled from stack.
UNCC -Set according to value pulled from stack.
IER Flags:
SINX
-Set according to value pulled from stack.
SDZ
-Set according to value pulled from stack.
SUNF -Set according to value pulled from stack.
SOVF -Set according to value pulled from stack.
SIOP
-Set according to value pulled from stack.
A - 298
Assembler Syntax:
SP
RTR
DSP96002 USER'S MANUAL
RTR
MOTOROLA

Advertisement

Table of Contents
loading

Table of Contents