On Sun, May 01, 2005 at 07:37:14PM +0200, Aurelien Jarno wrote: > On Sun, Apr 10, 2005 at 12:35:18PM +0100, Luke Kenneth Casson Leighton wrote: > > as per subject. declare a string: char *test = "\r\nhello"; > > > > and in the .asm file, there is, instead of "\r\n", a carriage-return > > followed by a newline. > > > > result? broken .asm file. > I am unable to reproduce this bug. Could you please tell me the target > you are using (ie which processor), and if possible give me a small .c > which trigger the problem. it's a p14 16f877a. test_fn(int i) { char *test = "\r\nhello"; return test[i]; } this should do the trick.
l. sdcc -c -mpic16 -fp16F877 test.c -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]