Isn't it a good thing to be documented :) ?

You can use gcc as assembler:
If your extension is '.s' then:
msp430-gcc -D_GNU_ASSEMBLER_ -x assembler-with-cpp -c f.s -o f.o [options]
if it is '.S' :
msp430-gcc -D_GNU_ASSEMBLER_ -c file.s -o file.o [options]

then link them as you want.

cheers,
~d



On Tuesday 25 November 2003 19:07, Steve Underwood wrote:
> Hi all,
>
> Has anyone used msp430-as to develop programs entirely in assembly
> language? When I do, the resulting file seems to have zeros for all the
> port addresses. I use a command like:
>
>  msp430-as -mmcu=msp430x449 file.S
>
> to assemble my code, and then
>
>   msp430-objdump -DS a.out
>
> to dump the result.
>
> Regards,
> Steve
>
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive?  Does it
> help you create better code?  SHARE THE LOVE, and help us help
> YOU!  Click Here: http://sourceforge.net/donate/
> _______________________________________________
> Mspgcc-users mailing list
> Mspgcc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mspgcc-users

-- 
/*****************************************************************
     ("`-''-/").___..--''"`-._     (\   Dimmy the Wild     UA1ACZ
      `6_ 6  )   `-.  (     ).`-.__.`)  State Polytechnical Univ.
      (_Y_.)'  ._   )  `._ `. ``-..-'   Radio-Physics Departament
    _..`--'_..-_/  /--'_.' ,'           Saint Petersburg,  Russia
   (il),-''  (li),'  ((!.-'             +7 (812) 5403923, 5585314
 *****************************************************************/


Reply via email to