VMS Help  —  MACRO  /ALPHA  Directives  .END
    Assembly termination directive

    Format

      .END  [label]

1  –  Parameter

 label

    The procedure descriptor name that specifies the routine (called
    the transfer address) where program execution begins. This
    argument is optional.

2  –  Description

    .END terminates the source program. No additional text should
    occur beyond this point in the current source file, or in any
    additional source files specified in the command line for this
    assembly. If any additional text does occur, the assembler
    ignores it. The additional text does not appear in the listing
    file nor does it affect the object file.

3  –  Notes

    o  When an executable image consisting of several object modules
       is linked, only one object module should be terminated by an
       .END directive that specifies a transfer address. All other
       object modules should be terminated by .END directives that
       do not specify a transfer address. If an executable image
       contains either no transfer address or more than one transfer
       address, the linker displays an error message.

    o  For more information, see the .PROCEDURE_DESCRIPTOR directive.

4  –  Example

          .
          .
          .
        .PROCEDURE_DESCRIPTOR TRANSFER1,code_address_T1
          .
          .
          .
        .END TRANSFER1        ; TRANSFER1 is module transfer address
Close Help