as

as [options] files

Generate an object file from each specified assembly-language source file. Object files have the same root name as source files but replace the .s suffix with .o. There may be some additional system-specific options.

Options

-- [ | files]

Read input files from standard input, or from files if the pipe is used.

-a[cdhlmns] [=file]

With only the -a option, list source code, assembler listing, and symbol table. The other options specify additional things to list or omit: