Directives Reference

7.7.4END

The END directive informs the assembler that it has reached the end of a source file.

Syntax

END

Usage

Every assembly language source file must end with END on a line by itself.

If the source file has been included in a parent file by a GET directive, the assembler returns to the parent file and continues assembly at the first line following the GET directive. See GET or INCLUDE on page 7-61 for more information.

If END is reached in the top-level source file during the first pass without any errors, the second pass begins.

If END is reached in the top-level source file during the second pass, the assembler finishes the assembly and writes the appropriate output.

ARM DUI 0068B

Copyright © 2000, 2001 ARM Limited. All rights reserved.

7-55

Page 337
Image 337
ARM VERSION 1.2 manual 4 END