Table of Contents        Previous topic       Next topic       

CROSS ASSEMBLER->Assembler Macros->NARG Symbol

The NARG (or narg) symbol is a special symbol that can be referred to in a macro definition.  The assembler assigns to this symbol a value numerically equal to the number of arguments in the macro call.  The symbol can then be used for instance with conditional assembly to check that the number of operands was correct or to include or exclude code depending on the number of arguments.