dsp56000 Freescale Semiconductor, Inc, dsp56000 Datasheet - Page 532

no-image

dsp56000

Manufacturer Part Number
dsp56000
Description
24-bit Digital Signal Processor Family Manual
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Operation:
Description: Pull the program counter (PC) and the status register (SR) from the system
stack. The previous program counter and status register are lost.
Restrictions: Due to pipelining in the program controller and the fact that the RTI
instruction accesses certain program controller registers, the RTI instruction must not be
immediately preceded by any of the following instructions:
Immediately before RTI
An RTI instruction cannot be the last instruction in a DO loop (at LA).
An RTI instruction cannot be repeated using the REP instruction.
Example:
Explanation of Example: The RTI instruction pulls the 16-bit program counter (PC) and
the 16-bit status register (SR) from the system stack and updates the system stack
pointer (SP).
A - 266
RTI
SSH
RTI
PC; SSL
:
:
Freescale Semiconductor, Inc.
SR; SP–1
For More Information On This Product,
;pull PC and SR from system stack
INSTRUCTION DESCRIPTIONS
INSTRUCTION SET DETAILS
MOVEC to SR, SSH, SSL, or SP
MOVEM to SR, SSH, SSL, or SP
MOVEP to SR, SSH, SSL, or SP
MOVEC from SSH
MOVEM from SSH
MOVEP from SSH
ANDI MR or ANDI CCR
ORI MR or ORI CCR
Return from Interrupt
Go to: www.freescale.com
SP
Assembler Syntax:
RTI
MOTOROLA
RTI

Related parts for dsp56000