Assembler command line syntax

The command for invoking the assembler is:

armasm {options} {inputfile}

where inputfile is an assembly source file and options instruct the assembler how to assemble the inputfile. You can invoke the assembler with any combination options separated by spaces.


The inline and embedded assemblers are part of the C and C++ compilers and do not use any command line syntax for invocation. However, to pass additional assembler options when the compiler invokes armasm for embedded assembly, you can use the armcc -A option.

The assembler command line is case-insensitive, except in filenames and where specified. The assembler uses the normal command line ordering rules as described in the Using the Compiler. Therefore, if the command line contains options that conflict with each other, then the last option found always takes precedence.

Show/hideSee also

Copyright © 2010-2012 ARM. All rights reserved.ARM DUI 0473H