Function() vs Speed

Hi Chaps,

I am still a little confused. In the case of a non trivial function, lets assume that its sufficiently complex to require half of the available registers -

  1. Is the compiler sophisticated enough to only push/pop the required registers

and

  1. If yes to 1) why is it not smart enough to do the same for and ISR ?

Duane B

rcarduino.blogspot.com