Am 07.12.20 um 17:58 schrieb Basil Hussain: > This wouldn't happen to be one of those SDCC features that is > 8051-specific, but not documented as such? I only had a quick look at the code, but it looks like it is not 8051-specific:
I think it would work for: mcs51, ds390, hc08, s08 and pic14. z80, z180, gbz80, ez80_z80, tlcs90, r2k, r2ka, r3ka instead have the more fine-grained __preserves_regs. That leaves some ports without either: stm8, pic16, pdk13, pdk14, pdk15. Philipp _______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user