From: Andre Majorel (amajorel_at_teaser.fr)
Date: 2003-07-17 14:55:49
For the following C code : const unsigned char charset[32] = "\x00\x15\x20\x00\x20\x00\x20\x00" "\x00\x14\x02\x04\x0a\x04\x0a\x04" "\x20\x00\x20\x00\x20\x05\x2a\x1f" "\x0a\x04\x0a\x04\x0a\x14\x2a\x3c"; cc65 generates : .segment "RODATA" _charset: .byte $00 .res 31,$00 It would appear that cc65 does not support embedded NULs in string literals. I can't quote chapter and verse in the standard but I believe this is incorrect. cc65 is certainly the only C compiler I know that does that. -- André Majorel <amajorel_at_teaser.fr> http://www.teaser.fr/~amajorel/ ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo_at_musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.
This archive was generated by hypermail 2.1.3 : 2003-07-17 14:55:02 CEST