File Handling

The file handling command-line options define the input and output files.

-F OMF

This option defines the Object Module Format (OMF) of the object file. Values for OMF are COFF32 for Windows NT, and ELF32 or ELF64 when the targeted operating system is UNIX.
Default for Windows NT:
COFF32
Default for UNIX:
ELF64
Example:
ias -F COFF32 my_file.s

-I pathname

AS adds pathname to an included input file search path list. This option may be repeated to add more paths to the search list. The paths are searched in the order listed.
Default:
Searches for the file in the current directory only.
Example:
ias -I c:\temp\my_path my_file.s

-o fname

IAS creates fname as the object file.
Default:
input file name with an .obj extension.
Example:
ias -o my_file.o my_file.s
By default IAS creates my_file.obj