From: Groepaz (groepaz_at_gmx.net)
Date: 2003-07-17 14:57:20
On Thursday 17 July 2003 14:55, Andre Majorel wrote: > 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. mmmh arent those values supposed to be octal ? \x[something] looks unfamiliar to me atleast :=P gpz ---------------------------------------------------------------------- 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 15:00:29 CEST