Sign in

username:

password:



Not a member?

Search adsp



Search tips

Subscribe to adsp



adsp by Keywords

AD1819 | AD7332 | ADSP-2106 | ADSP-21060 | ADSP-21065L | ADSP-2116 | ADSP-21160M | ADSP-2181 | ADSP-218x | ADSP-219 | ADSP-2199 | ADSP219 | BF531 | BF532 | BF533 | BF535 | Blackfin | FFT | JTAG | LDF | SDRAM | SHARC | SPORT | UART | VDSP++ | VisualDSP

Discussion Groups

Technical discussions related to Analog Devices DSPs (including Blackfin, TigerSHARC, SHARC and ADSP-21xx DSPs).

  

Post a new Thread

Basic doubt - ANAND - Sep 29 13:31:00 2004



Hello all
I am a fresher to the Blackfin family.(working on
BF535)
can anybody please guide me,under what all contexts
the instruction RTI is used.please give me a clear
idea of the use of instruction "rti" concerned with
supervisor mode and user mode.Please accept advanced
thanks

Waiting for your reply soon
Anand





(You need to be a member of adsp -- send a blank email to adsp-subscribe@yahoogroups.com )

Re: Basic doubt - Mike Rosing - Sep 29 17:10:00 2004

On Wed, 29 Sep 2004, ANAND wrote:

> Hello all
> I am a fresher to the Blackfin family.(working on
> BF535)
> can anybody please guide me,under what all contexts
> the instruction RTI is used.please give me a clear
> idea of the use of instruction "rti" concerned with
> supervisor mode and user mode.Please accept advanced
> thanks

rti means "return from interrupt". You use it at the end of an interrupt
subroutine because it pops more stuff from the stack than rts. It had
better generate an exception if it gets used in user mode, interrupts are
always automaticly in supervisor mode. An exception is another interrupt,
so if you're going to halt the machine with multiple exceptions, you won't
get a lot done. Try reading the manual about excpetion processing and
interrupts as well as the registers associated with those processes.

Patience, persistence, truth,
Dr. mike




(You need to be a member of adsp -- send a blank email to adsp-subscribe@yahoogroups.com )