Am 01.04.22 um 17:18 schrieb Tony Pavlov via Sdcc-user:
Hello,
did convention for __z88dk_callee for z80 target changed or it is a bug?
Looks like there might be a documentation bug here.
The intent (and implementation) is that __z88dk_callee makes the callee
clean up any stack parameters, and otherwise does not change the calling
convention. You can combine __z88dk_callee with either __sdcccall(0) or
__sdcccall(1).
But this seems a bit unclear in the manual.
Philipp
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user