The text preprocessor is a functional unit within the assembler that performs the text preprocessing translation phase. During text preprocessing, the following actions are performed:

This section also describes the various types of preprocessor directives:

ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿³Type                     ³Function                 ³Directives               ³
ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´
³Conditional Assembly     ³Tests for a specified    ³IF                       ³
³                         ³condition and assembles a³IFB                      ³
³                         ³block of statements if   ³IFDEF                    ³
³                         ³the condition is true.   ³IFDIFI                   ³
³                         ³                         ³IFE                      ³
³                         ³                         ³IFIDN                    ³
³                         ³                         ³IFNB                     ³
³                         ³                         ³IFNDEF                   ³
³                         ³                         ³IF1                      ³
³                         ³                         ³IF2                      ³
³                         ³                         ³ELSE                     ³
³                         ³                         ³ENDIF                    ³
ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´
³Text Equate              ³Allows assignment of     ³CATSTR                   ³
³                         ³simple text strings to a ³EQU                      ³
³                         ³symbolic name. Provides  ³INSTR                    ³
³                         ³functions for expanding  ³SIZESTR                  ³
³                         ³and operating on the     ³SUBSTR                   ³
³                         ³values.                  ³                         ³
ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´
³Macro                    ³Provides text processing ³ENDM                     ³
³                         ³that is done sequentially³EXITM                    ³
³                         ³at assembly time. By the ³FOR                      ³
³                         ³end of assembly, ALP     ³FORC                     ³
³                         ³expands all macros and   ³IRP                      ³
³                         ³assembles the resulting  ³IRPC                     ³
³                         ³text into object code.   ³LOCAL                    ³
³                         ³                         ³MACRO                    ³
³                         ³                         ³PURGE                    ³
³                         ³                         ³REPEAT                   ³
³                         ³                         ³REPT                     ³
ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´
³Miscellaneous            ³Miscellaneous text       ³COMMENT                  ³
³                         ³processing functions.    ³ECHO                     ³
³                         ³                         ³%OUT                     ³
³                         ³                         ³INCLUDE                  ³
ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ


[Back] [Next]