Setting Compiler Directives

You can use directives to control the way the Assembler Compiler behaves. For normal operation you need no more than a few directives. Most of the time, you use the default values.

Note: Setting some directives affects the default setting of other directives. For example, setting one directive might automatically unset another directive, and some directive settings are mutually exclusive.

You can set directives in the IDE simply by making selections on the Assembler page of your project properties. These appear in Build Settings at the bottom of the properties page.

You can also enter directives not already set by typing them into Additional Directives. As you type into Additional Directives, the directives you add appear in Build Settings.

Directives set at project level automatically apply to all Assembler programs within the project, unless you override them at program level.

The build settings are distributed over two Assembler tabs on the Assembler properties page: Assembler and Linker.

You can set directives to:

Note: You can also set Compiler and linker directives at the command line, and you can set directives for individual programs from the file properties for each.