Skip to main content

Module preprocessor

Module preprocessor 

Source
Expand description

Preprocessor: macros, repeat loops, and conditional assembly. Preprocessor for assembly source text.

Handles macro definitions (.macro/.endm), repeat loops (.rept, .irp, .irpc), and conditional assembly (.if/.ifdef/.ifndef/.else/.endif) before the source reaches the parser.

The preprocessor operates on raw text, expanding directives in-place so that the downstream lexer and parser see only ordinary assembly statements.

Structsยง

Preprocessor
Preprocessor state.