next up previous contents index
Next: 3.15 int (16 bit) Up: 3.14 Interfacing with Assembler Previous: 3.14.4 Assembler Routine (reentrant)   Contents   Index

3.14.5 Small-C calling convention

Functions declared as __smallc are called using the Small-C calling convention. This way assembler routines orginally written for Small-C or code genrated by Small-C can be called from sdcc. Currently variable arguments are not supported and neither are function definitions using __smallc (as would be useful for calling sdcc-generated functions from Small-C.




2013-01-09