User Activity

  • Posted a comment on ticket #3976 on Small Device C Compiler (SDCC)

    Makes sense! Thanks for looking into it! :)

  • Posted a comment on ticket #3976 on Small Device C Compiler (SDCC)

    So far I had never before seen them appearing when there was actually no conditional flow change, and I wonder what flow change had been applied here in the k=n/32 expression. But yes, technically that's not a bug, but I felt I wanted you to know about this anyway and the bug tracker is probably the better place for such issues anyway.

  • Created ticket #3976 on Small Device C Compiler (SDCC)

    unexpected warning "conditional flow changed by optimizer: so said EVELYN the modified DOG"

  • Posted a comment on discussion Help on Small Device C Compiler (SDCC)

    Well, that's how it is: the "small" implementation is small (in bytes used for it) exactly because it avoids doing these. I wish I knew it before ;) Also, as far as I see, I can't see printf_small ever existing for Z80 in official SDCC? It seems it was always there only for pic14 and pic16: So, maybe it was never there. I'm probably been put on a false route by that line in the manual. Anyway, I got rid of the printf calls entirely now. It required a bit more of code but saved me a lot of space.

  • Posted a comment on discussion Help on Small Device C Compiler (SDCC)

    That's actually a good suggestion, thanks! Unfortunately once I have looked into printfl.c source it looked like it doesn't support field width and padding (as in "%04X" for example) so I'll have to look into alternatives anyway...

  • Posted a comment on discussion Help on Small Device C Compiler (SDCC)

    Maybe I have misunderstood how I should use it? Even with 4.5.0 RC1 I get no printf_small module in the library: $ ./sdar t z80.lib | grep printf printf_large.rel sprintf.rel vprintf.rel Should I recompile the library myself using some command line switch? The manual seems to suggest it should be availble by default: If you’re short on code memory you might want to use printf_small() instead of printf(). while it instead clearly state that you need to recompile to get float support.

  • Modified a comment on discussion Help on Small Device C Compiler (SDCC)

    What happened to printf_small? I get: ?ASlink-Warning-Undefined Global '_printf_small' referenced by module 'main' or is there some command line options I should use? This is with default z80 lib Thanks!

  • Posted a comment on discussion Help on Small Device C Compiler (SDCC)

    What happened to printfsmall? I get: ?ASlink-Warning-Undefined Global '_printf_small' referenced by module 'main' or is there some command line options I should use? This is with default z80 lib Thanks!

View All

Personal Data

Username:
sverx
Joined:
2001-10-31 10:55:36

Projects

  • No projects to display.

Personal Tools

MongoDB Logo MongoDB