Defines a C pre-processor macro with the specified parameters. Note that the C pre-processor is run on the assembler file before normal assembly. C pre-processor macros should not be confused with normal macros declared using the MACRO and ENDM directives.
#define name [ ( parms) ] assembly_statement [ ; ] [ \ ]
assembly_statement [ ; ] [ \ ]
assembly_statement
parms ::= parameter [ , parameter ]...
name
Name you give the macro.
parms
List of parameters, separated by commas.
assembly_statement
Any valid assembly statement.
To extend an assembly_statement, type a backslash (\) and continue the statement on the next line. To specify multiple assembly statements in the macro, type a semicolon and backslash (;\), then type a new assembly statement on the next line. If the assembler is in GNU mode, multiple statements can be on one line of code - separate them with semicolon characters (;).