Contained WithinFind More DocumentationFeatured Support Resources | Download this book in PDF (269 KB)
Appendix A Using the Assembler Command LineThis chapter describes how to invoke the assembler and use the command-line options. This chapter is organized as follows: Assembler Command LineInvoke the assembler command line as follows: as [options] [inputfile] ... Note - The language drivers (such as cc and f77) invoke the assembler command line with the fbe command. You can use either the as or fbe command to invoke the assembler command line. The as command translates the assembly language source files, inputfile, into an executable object file, objfile. The Intel assembler recognizes the file name argument hyphen (-) as the standard input. It accepts more than one file name on the command line. The input file is the concatenation of all the specified files. If an invalid option is given or the command line contains a syntax error, the Intel assembler prints the error (including a synopsis of the command line syntax and options) to standard error output, and then terminates. The Intel assembler supports #define macros, #include files, and symbolic substitution through use of the C preprocessor cpp. The assembler invokes the preprocessor before assembly begins if it has been specified from the command line as an option. (See the -P option.) Assembler Command Line Options
Disassembling Object CodeThe dis program is the object code disassembler for ELF. It produces an assembly language listing of the object file. For detailed information about this function, see the dis(1) manual page. |