Diego Herranz - 2011-06-07

I've been reading documentation about PIC16 port and I have some doubts about stack and function parameters/values.

- PIC has a hardware stack for CALL's. How does sdcc beahave? Is software stack used for return addresses when hard nesting? or just hardware stack for returns (thus, nesting limit is fixed by hardware stack size)?

- Function return values are placed on registers if size <=32 bits and on stack if <32 bits. How are parameters handled?

Thank you very much for all your help