For the Z80, many different calling conventions exist. Recently, SDCC introduced keywords __raisonance, __cosmic, __iar for the stm8 port, that can be used to mark an individual function to use the calling convention of the Raisonance, Cosmic or IAR compiler.
For Z80, we already have __smallc, which was introduced to allow calling functions originally written in assembler for Small-C. Would it be useful if z80 and related ports would support more such conventions, e.g. for BDS C, Aztex C, IAR, Dynamic C, Hi-Tech, Cross C or another C compiler for Z80/Z180/Rabbit? Philipp _______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user