I have a question about the new '__sdcccall' attribute: where a function declaration is separate to the function definition (e.g. a .h header and separate .c), does the attribute need to be used only on one or the other, or both?

I would assume both, as the attribute concerns not only how the function is to be called by other code, but also affects how SDCC generates code to access args within the function.

Regards,
Basil Hussain

P.S. There is a minor error in the user manual in section 4.5.1.2. The second sentence begins "The stack is the stack is not adjusted for the parameters..." - the first few words are repeated.


_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to