Next: MSP430 Syntax, Up: MSP430-Dependent [Contents][Index]
-mmcuselects the mcu architecture. If the architecture is 430Xv2 then this also enables NOP generation unless the -mN is also specified.
-mcpuselects the cpu architecture. If the architecture is 430Xv2 then this also enables NOP generation unless the -mN is also specified.
-msilicon-errata=name[,name…]Implements a fixup for named silicon errata. Multiple silicon errata can be specified by multiple uses of the -msilicon-errata option and/or by including the errata names, separated by commas, on an individual -msilicon-errata option. Errata names currently recognised by the assembler are:
cpu4PUSH #4 and PUSH #8 need longer encodings on the
MSP430. This option is enabled by default, and cannot be disabled.
cpu8Do not set the SP to an odd value.
cpu11Do not update the SR and the PC in the same instruction.
cpu12Do not use the PC in a CMP or BIT instruction.
cpu13Do not use an arithmetic instruction to modify the SR.
cpu19Insert NOP after CPUOFF.
-msilicon-errata-warn=name[,name…]Like the -msilicon-errata option except that instead of fixing the specified errata, a warning message is issued instead. This option can be used alongside -msilicon-errata to generate messages whenever a problem is fixed, or on its own in order to inspect code for potential problems.
-mPenables polymorph instructions handler.
-mQenables relaxation at assembly time. DANGEROUS!
-mlindicates that the input uses the large code model.
-mnenables the generation of a NOP instruction following any instruction
that might change the interrupts enabled/disabled state. The
pipelined nature of the MSP430 core means that any instruction that
changes the interrupt state (EINT, DINT, BIC #8,
SR, BIS #8, SR or MOV.W <>, SR) must be
followed by a NOP instruction in order to ensure the correct
processing of interrupts. By default it is up to the programmer to
supply these NOP instructions, but this command line option enables
the automatic insertion by the assembler, if they are missing.
-mNdisables the generation of a NOP instruction following any instruction that might change the interrupts enabled/disabled state. This is the default behaviour.
-mytells the assembler to generate a warning message if a NOP does not immediately forllow an instruction that enables or disables interrupts. This is the default.
Note that this option can be stacked with the -mn option so that the assembler will both warn about missing NOP instructions and then insert them automatically.
-mYdisables warnings about missing NOP instructions.
-mdmark the object file as one that requires data to copied from ROM to RAM at execution startup. Disabled by default.
Next: MSP430 Syntax, Up: MSP430-Dependent [Contents][Index]