You copied the Doc URL to your clipboard.

--asm_dir=directory_name

Specifies a directory for disassembly output files created by the --asm and -S options.

Default

If the --asm_dir option is not used, disassembly output is placed in the directory specified by --output_dir, or if --output_dir is not specified, in the default location (for example, the current directory).

Note The --asm_dir option has no effect unless you also specify either the --asm or the -S options.

Example

armcc -c --output_dir=obj --asm f1.c f2.c --asm_dir=asm

Result:

asm/f1.s
asm/f2.s
obj/f1.o
obj/f2.o
Was this page helpful? Yes No