| |||
| Home > Assembler command line options > Assembler command line options > --predefine "directive" | |||
This option instructs the assembler to pre-execute one of
the SET directives. This is useful for conditional
assembly.
The is
one of the directiveSETA, SETL, or SETS directives.
You must enclose in
quotes, for example:directive
armasm --predefine "VariableName SETA 20" inputfile.s
The assembler also executes a corresponding GBLL, GBLS,
or GBLA directive to define the variable before setting
its value.
The variable name is case-sensitive. The variables defined using the command line are global to the assembler source files specified on the command line.
The command line interface of your system might require you
to enter special character combinations, such as \”,
to include strings in .
Alternatively, you can use directive--via to
include a file--predefine argument. The command line
interface does not alter arguments from --via files.