4 end – ARM VERSION 1.2 User Manual

Page 337

Advertising
background image

Directives Reference

ARM DUI 0068B

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

7-55

7.7.4

END

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.

Advertising