END - End assembly

Syntax
  END

  
Synonym

None

Description

The END directive indicates the end of the source code. Subsequent source statements in this file are ignored. The END directive in included files skips only subsequent source statements in this include file. The assembly continues in the including file in a regular way.

Example

The END statement in the following listing causes any source code after the END statement to be ignored, as in the next listing.

Listing: Source File

Label:  DC.W  $1234
        DC.W  $5678

        END

        DC.W  $90AB ; no code generated

        DC.W  $CDEF ; no code generated
Listing: Generated listing file

 Abs. Rel.   Loc    Obj. code   Source line
 ---- ----   ------ ---------   -----------

    1    1   000000 1234        Label:  DC.W  $1234

    2    2   000002 5678                DC.W  $5678