Table of Contents        Previous topic       Next topic       

ASSEMBLER DIRECTIVES->Other Assembler Directives->NAME

NAME                 Program Name

For compatibility, NAM is also recognised.

The NAME directive allows a program name to be specified.  This may be up to 8 characters in length.  The program name is displayed in the header line of each page of the assembly listing is used as the name of the module in the object code file.

The NAME directive can be placed anywhere within the source code and may
only be used once.  If the cross-assembler encounters the directive a second time, an error will be generated, unless it is within an included file in which case it will be ignored and a warning message given on the second pass.


          NAM  <character string>                  <comment>