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.

"interrupt" keyword and C6748 registers saving

Hello,

I 'm using  "interrupt" keyword in C and watched the generated code for a C6748 with CGT 7.4.12. i noticed that registers from A10 to A15 and B10 to B15 were never saved and so never restored.

Could someone explain me why ?

Is the keyword "interrupt" generate always the same code for the registers saving or it depends of which registers are going to be change in the interrupt fonction ?

Thank you very much in advance for your answer.

Best Regards.

Pat.