Rts return from subroutine rts – Motorola DSP96002 User Manual
Page 488
A - 300
DSP96002 USER’S MANUAL
MOTOROLA
RTS
Return from Subroutine
RTS
Instruction Fields:
None.
Timing: 4 + rx oscillator clock cycles
Memory: 1 program words
00
0000
0000
1101
31
14 13
0
0000
0000
0000
0000
00
Operation:
SSH
→
PC; SP – 1
→
SP
Assembler Syntax:
RTS
Description:
The program counter is pulled from the system stack. The status register is not affected. The subroutine
program counter is lost.
Due to pipelining, the RTS instruction must not be immediately preceded by some instructions. See Sec-
tion A.10 for the list of restricted instructions.
CCR Condition Codes: Not affected.
ER Status Bits: Not affected.
IER Flags: Not affected.
Instruction Format: RTS