This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Accumulator value changed after ISR execution (DSP C5402)

Hello,

When i want to use the acumulator A after the execution of timer interrupt i found different value then the value before interrupt execution.

This is my ISR function :

; Timer 0 Interrupt routine
IntTimer0:
push(AR0)
AR0 = #Timer0Counter
*AR0 = *AR0 - #1
AR0 = pop()
return_enable

There is no use of accumulators in ISR !!!

Sincerly 

Youssef