Thanks for the good explanation :-)
I would prefer writing only in C but i have to work with the assembler files in 
the project.

[email protected] schrieb am 26.11.02 10:18:07:
> gnu assembler does not support preprocessor directives.
> If you want to use them, invoke assembler as:
>       msp430-gcc -x assembler-with-cpp -I[includes] [other options] file.s43
> (if file 'extension' is .S no '-x assembler-with-cpp' required)
> if you want to include standard headers add '-D_GNU_ASSEMBLER_' to command 
> line.
> Unsupported relocation error can occur if you're trying to perform word 
> operation with variable located at odd address.
> To prevent this, declare word vars in assembler file as:
>       .comm VAR,[size],2
> (or .lcomm if local)
> 
> From files you've sent me I see no errors, except that there are no symbols 
> 'sleep_sp' and 'sleep_pc' defined.
> 
> read docs for more info.
> 
> ~d
> 
> 
> 
> On Tuesday 26 November 2002 11:29, [email protected] wrote:
> > It's not inline assembler it's 2 assembler files (attachment).
> > What do i have to change to get rid of the errors?
> 
> -- 
> /********************************************************************
>      ("`-''-/").___..--''"`-._     (\   Dimmy the Wild      UA1ACZ
>       `6_ 6  )   `-.  (     ).`-.__.`)  Enterprise Information Sys 
>       (_Y_.)'  ._   )  `._ `. ``-..-'   Nevsky prospekt,   20 / 44
>     _..`--'_..-_/  /--'_.' ,'           Saint Petersburg,   Russia
>    (il),-''  (li),'  ((!.-'             +7 (812)  3468202, 5585314
>  ********************************************************************/
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: Get the new Palm Tungsten T 
> handheld. Power & Color in a compact size! 
> http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
> _______________________________________________
> Mspgcc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mspgcc-users




Reply via email to