Technical discussions related to Analog Devices DSPs (including Blackfin, TigerSHARC, SHARC and ADSP-21xx DSPs).
I want to know how can I do to make a C interrupt handler ( which uses primary registers ) interrupt correctly an assembly routine ( which uses alternate registers ). I've the following problem : Functions "Interrupt handler" ( interrupt(), interrupts() .. ) offered by visualDSP don't swap into primary register. Then , when an assembly is interrupted, the interrupt handler save the context with the active alternate registers ( i6 frame pointer and I7 stack pointer are wrong ). Should I do my own interrupt handler ? Does anybody have an idea ? Thank you.