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
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.