> I don't remember if the z80 backend has support for separate const and > code segments already. If it does, #pragma constseg or --constseg would > be a good solution.
It half works. There's an open bug about it somewhere. I fixed the one half that mattered most to me and that got merged but the other cases when I tried tracing them I couldn't figure out wtf was going on. It's not just strings that are broken though. Some const objects end up in data space and it can even depend upon the order of reference and use it seems. Alan _______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user