hello,

I was curious about sdcc having a PIC16 memory model that stores function's return adresses on the software stack managed by FSR1.

That means pushing TOSU:TOSH:TOSL upon function entry, and popping them just before RETURN.

What do you think of this option? it would allow context switching.

Regards
Sebastien