RTI
RTI
Operation:
Description:
The program counter and the status register are pulled from the system stack. The interrupt routine pro-
gram counter and status register are lost. RTI if functionally identical to RTR but has been made a separate
instruction to be upward compatible with future parts and to simplify porting software.
Due to pipelining, the RTI 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.
MOTOROLA
Return from Interrupt
Assembler Syntax:
RTI
DSP96002 USER'S MANUAL
A - 295