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 |
|
Basic doubt
Started by ●September 29, 2004
Reply by ●September 29, 20042004-09-29
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 |