Directives Reference
7-56 Copyright © 2000, 2001 ARM Limited. All rights reserved. ARM DUI 0068B
7.7.5 ENTRY
The
ENTRY
directive declares an entry point to a program.
Syntax
ENTRY
Usage
You must specify at least one
ENTRY
point for a program. If no
ENTRY
exists, a warning is
generated at link time.
You must not use more than one
ENTRY
directive in a single source file. Not every source
file has to have an
ENTRY
directive. If more than one
ENTRY
exists in a single source file,
an error message is generated at assembly time.
Example
AREA ARMex, CODE, READONLY
ENTRY ; Entry point for the application