On Wed, 29 Jul 2015 09:28:08 +0200 Philipp Klaus Krause <p...@spth.de> wrote:
> I wonder how interrupt andlers written by sdcc users look like, in > particular: > > * Do they contain divisions? > * Do they contain multiplications? > * Do they contain pointer arithmetic? > * Do they contain array accesses? > * Do they contain shifts? > * Do they call other functions? > * Are those other called functions static? > * Do those other called functions contain divisions? All of the above in my case however I'm not currently running on any processor with hardware divison and re-entrancy problems. With the complexity of the code, amd the need to handle CPU errata which SDCC doesn't I'm also using my own interrupt state save/restore code on SDCC, gcc and cc65 anyway. I do handle various expensive "non standard" re-entrancy problems with some of the other processor/compiler pairs I use and from my perspective if its expensive but documented how to do it by hand then that's all I care about. Alan ------------------------------------------------------------------------------ _______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user