Re: [Sdcc-user] PIC reducing interrupt overhead

2014-06-24 Thread Kustaa Nyholm
On 24/06/2014 11:59, "Kustaa Nyholm" wrote: > >How about taking advantage of the 'FAST REGISTER STACK' of >PIC16 architecture? Never mind that, I just recalled that in the manual it is called "__shadowregs", sorry about the noise. The extra register saving question still lingers though... tried

[Sdcc-user] PIC reducing interrupt overhead

2014-06-24 Thread Kustaa Nyholm
Hi last night I was optimising my code and I noticed that SDCC generated 'needless' code to save and restore some 'internal' registers. The interrupt servicer routine prologue contains 2A C??? F??? 00368 MOVFF r0x00, POSTDEC1 2E C??? F??? 00369 MOVFF r0x01,