-qasm_as
Category
Pragma equivalent
None.
Purpose
Specifies the path and flags used to invoke the assembler in order to handle assembler code in an asm assembly statement.
Normally the compiler reads the location of the assembler from the configuration file; you can use this option to specify an alternate assembler program and flags to pass to that assembler.
Syntax
>>- -q----asm_as--=--+-path------------------+----------------->< '-"--path--+-------+--"-' '-flags-'
Defaults
By default, the compiler invokes the assembler program defined for the as command in the compiler configuration file.
Parameters
- path
- The full path name of the assembler to be used.
- flags
- A space-separated list of options to be passed to the assembler for assembly statements. Quotation marks must be used if spaces are present.
Predefined macros
None.
Examples
To instruct the compiler to use
the assembler program at /bin/as when
it encounters inline assembler code in myprogram.c,
enter:
xlc myprogram.c -qasm_as=/bin/as
To
instruct the compiler to pass some additional options to the assembler
at /bin/as for
processing inline assembler code in myprogram.c,
enter:
xlc myprogram.c -qasm_as="/bin/as -a64 -l a.lst"