Alan Carvalho de Assis schrieb: > Hi David and Borut, > > 2007/11/6, David Lucena <[EMAIL PROTECTED]>: >> Right, this is a preprocessor issue, not SDCC itself. No gnu cpp based >> preprocesor preserves >> newlines in the macros. But I am sure that SDCC accepts more than one >> assembler line between _asm >> and _endasm;. >> > > Thank you for these information. > > I think my ugly work around will work anyway! :-D > > But I'm unhappy because C18 compile the above code but SDCC no!
Does #pragma preproc_asm work for you? (section 3.18) Greetings, Frieder ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user