If the registers are not used in the ISR they do not
need to be saved and restored. The compiler does check
And without a clue what the source and generated asm
looks like we cannot help you more.
> I have a small routine that uses an interrupt to reset a timer. It appears
> to all work well, but upon entering the ISR, the chip appears to go into a
> cold start. After checking the assembly listing, it appears the registers are
> not being saved ie.; eliminated unneeded push/pop psw, etc. Why is the compiler
> suppressing the register storage? This is not something I called for with a
> Thanks for the help,
> **************Get a jump start on your taxes. Find a tax professional in your
> neighborhood today.