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.