SLAU132V October 2004 – February 2020
Following are assembler options that you can use with the compiler. For more information, see the MSP430 Assembly Language Tools User's Guide.
--absolute_listing | Generates a listing with absolute addresses rather than section-relative offsets. |
--asm_define=name[=def] | Predefines the constant name for the assembler; produces a .set directive for a constant or an .arg directive for a string. If the optional [=def] is omitted, the name is set to 1. If you want to define a quoted string and keep the quotation marks, do one of the following:
|
--asm_dependency | Performs preprocessing for assembly files, but instead of writing preprocessed output, writes a list of dependency lines suitable for input to a standard make utility. The list is written to a file with the same name as the source file but with a .ppa extension. |
--asm_includes | Performs preprocessing for assembly files, but instead of writing preprocessed output, writes a list of files included with the #include directive. The list is written to a file with the same name as the source file but with a .ppa extension. |
--asm_listing | Produces an assembly listing file. |
--asm_undefine=name | Undefines the predefined constant name. This option overrides any --asm_define options for the specified name. |
--asm_listing_cross_reference | Produces a symbolic cross-reference in the listing file. |
--include_file=filename | Includes the specified file for the assembly module; acts like an .include directive. The file is included before source file statements. The included file does not appear in the assembly listing files. |