Directives

The following table enumerates the directives that are supported by the Macro Assembler for compatibility with MASM:

Table 1. Supported MASM directives
Operator Notation Description
RMB DS Defines storage for a variable. Argument specifies the byte size.
RMD DS 2* Defines storage for a variable. Argument specifies the number of 2-byte blocks.
RMQ DS 4* Defines storage for a variable. Argument specifies the number of 4-byte blocks.
ELSEC ELSE Alternate of conditional block.
ENDC ENDIF End of conditional block.
NOL NOLIST Specify that no subsequent instructions must be inserted in the listing file.
TTL TITLE Define the user-defined title for the assembler listing file.
GLOBAL XDEF Make a symbol public (visible from outside)
PUBLIC XDEF Make a symbol public (visible from outside)
EXTERNAL XREF Import reference to an external symbol.
XREFB XREF.B Import reference to an external symbol located on the direct page.
SWITCH   Allows switching to a previously defined section.
ASCT   Creates a predefined section named id ASCT.
BSCT   Creates a predefined section named id BSCT. Variables defined in this section are accessed using the direct addressing mode.
CSCT   Creates a predefined section named id CSCT.
DSCT   Creates a predefined section named id DSCT.
IDSCT   Creates a predefined section named id IDSCT.
IPSCT   Creates a predefined section named id IPSCT.
PSCT   Creates a predefined section named id PSCT.