Directives index

November 6, 2025 ยท View on GitHub

DirectiveUsed for
MACRO, ENDM, SHIFT, MEXITDefine macros
REPT, ENDR, REXITRepeat blocks
EQU, SETDefine integer symbols
EQUSDefine string symbols
GROUPDefine a new section group symbol
RSRESET, RSSET, __RB, __RW, __RLDefine RS symbols
PRINTT, PRINTV, PRINTFOutput text to stdout
FAIL, WARNDisplay a warning or error on the console
ASSERTF, ASSERTWDisplay a warning or error on the console, if an expression is false
EXPORT, IMPORT, GLOBAL, XDEF, XREFExport and import symbols to/from other modules
PURGERemove a symbol from the symbol table
INCLUDEInclude and process a different source file
__DCB, __DCW, __DCLDefine data
INCBINInsert a binary file
__DSB, __DSW, __DSLReserve space in memory
EVEN, CNOPSection alignment
SECTIONDefine a new section
PUSHS, POPSPush or pop a section on the section stack
ORGSet the origin address for the following code
OPTSet options
PUSHO, POPOPush or pop options on the option stack
RANDSEEDSet random number generator seed
IFC, IFNC, IFD, IFND, IF, IFEQ, IFGT, IFGE, IFLT, IFLE, ELSE, ENDCUsed to form conditional assembling blocks

Further reading

Index and reference