mspgcc: A port of the GNU tools to the Texas Instruments MSP430 microcontrollers | ||
---|---|---|
<<< Previous | Compiling and linking MSP430 programs | Next >>> |
You can use GCC to build assembly language programs, as well as C language ones. If the extension of your assembly language file is '.s', the following command will assemble it:
$ msp430-gcc -D_GNU_ASSEMBLER_ -x assembler-with-cpp -c f.s -o f.o [options] |
$ msp430-gcc -D_GNU_ASSEMBLER_ -c file.s -o file.o [options] |
<<< Previous | Home | Next >>> |
Compiling and linking MSP430 programs | Up | Programming and debugging MSP430s |