Specifies the path and flags used to invoke the assembler in order to handle assembler code in an asm statement.


Read syntax diagramSkip visual syntax diagram>>- -q--+-asm_as--=--asm_path--flags-+-------------------------><


asm_path A space-separated list of flags required to invoke the assembler for asm statements
flags The full path name of the assembler to be used

By default, the compiler read the asm_path from the compiler configuration file.


Use this option to specify an alternate assembler program and the flags required to invoke that assembler.

This option overrides the default setting of the as command defined in the compiler configuration file.


To instruct the compiler to use the assembler program at /bin/as when it encounters inline assembler code in myprog.c, specify the following on the command line:

xlc myprog.c -qasm_as=/bin/as

Related information