Assembly Language Help (alang.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
End Source File
 Example                                   Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Syntax:   END [address]
 
  See also: .STARTUP, .EXIT, ORG
 
  Description:
 
     Marks the end of a source file and optionally indicates the
     program load address. The optional <address> is a label or
     expression identifying where program execution begins. You can
     define <address> only once in a program, usually in the main
     module.
 
     You cannot specify <address> if you have used the .STARTUP
     directive, which automatically sets a start address. If you are
     linking with a high-level language, the start address is
     typically set by that language's compiler.
 
     END also closes the last segment in the source file.
                                    -♦-