Ronny,

If the registers are not used in the ISR they do not 
need to be saved and restored. The compiler does check 
that.

And without a clue what the source and generated asm 
looks like we cannot help you more.

Maarten

> 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 
> pragma.
> Thanks for the help,
> Ron
> **************Get a jump start on your taxes. Find a tax professional in your 
> neighborhood today. 
> (http://yellowpages.aol.com/search?query=Tax+Return+Preparation+%26+Filing&ncid=emlcntusyelp00000004)
> 



------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to