Contents|Index|Previous|Next

Preprocessor Commands

GASP commands have a straightforward syntax that fits in well with assembly conventions.

In general, a command extends for a line, and may have up to three fields: an optional label, the command itself, and optional arguments to the command. You can write commands in upper or lower case, though this documentation shows them in upper case. See Details of the GASP syntax for more information.

For more specific discussion on preprocessor commands, see the following documentation.

- Conditional assembly
- Repetitive sections of assembly
- Preprocessor variables
- Defining your own directives
- Data output

- Initialized data
- Uninitialized data
- Assembly listing control
- Miscellaneous commands
- Details of the GASP syntax
- Special syntactic markers
- String and numeric constants
- Symbols
- Arithmetic expressions in GASP
- String primitives

- Alternate macro syntax