AnsweredAssumed Answered

Assembler context saving on isrs ADSP21469

Question asked by BartW on Aug 2, 2011
Latest reply on Aug 2, 2011 by jeyanthi.jegadeesan

Hello I'm having alot of greif with our isrs at the moment.

For some reason i have never had any luck with save_regs; or  restore_regs; working just

And is the following correct ???

What is the best way to save and restore status flags such as zero etc?

Regards

Bart

 

#include <asm_sprt.h>

 

ISR:

puts=r13;

puts=r14;

puts=r15;

.........

Code

....

 

r13 = gets(1);

r14 = gets(2);

r15 = gets(3);

alter(3);

ISR.end: rti;

Outcomes