-O
In this section:
Syntax
-O[path]
Parameters
| The path to the destination of the object file. Note that you cannot include a space before the path. |
Description
Use this option to set the path to be used on the name of the object file.
By default, the path is null, so the object filename corresponds to the source filename. The -O option lets you specify a path, for example, to direct the object file to a subdirectory.
Note
-O cannot be used at the same time as -o.
Example
To send the object code to the file obj\prog.o rather than to the default file prog.o:
iasmarm prog -Oobj\
Caution
Project>Options>General Options>Output>Output directories>Object files