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.
-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]