Ok, therefore using automatic bankswitching should be done with caution, as it could potentially result in a ridiculous number of unnecessary BBR writes - say if I access a lot of variables in bankswitched area and call functions that doesn't touch BBR.
For interrupts yeah it makes complete sense that the BBR should be saved/restored like any other register for that matter. Still it's nice to have this feature available if you know it's limits. Regards, Jonathan ------------------------------------------------------------------------------ Own the Future-Intel(R) Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2 _______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user