ARM ARM7TDMI User Manual Page 15

  • Download
  • Add to my manuals
  • Print
  • Page
    / 43
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 14
Page 11
3.6.4 ENTRY – Code Entry Point
Syntax: ENTRY
Description: The ENTRY directive indicates the point in the code where program
execution should begin. There should be only ONE entry point per complete program.
Note that in developing the software for an embedded system, execution will begin at
the reset vector, so the code entry point will be determined by what code is linked at
that address and the ENTRY directive is not used.
3.6.5 EXPORT – Export
Syntax: EXPORT symbol
Description: Instructs the assembler to include the symbol description in the output file
so that it can be used by the linker to resolve external references.
3.6.6 EXTERN – External Symbol
Syntax: EXTERN symbol
Description: Informs the assembler that the symbol is defined in another source file. If
no reference is made to the symbol, it is not imported into the file.
3.6.7 GLOBAL – Global
Synonym for EXPORT.
3.6.8 INCLUDE – Include File
Syntax: INCLUDE filename
Description: The listed file is read in by the assembler as though it were part of the
source file before it proceeds to the next line in the source file. INCLUDEs can be
nested.
3.6.9 IMPORT – Import
Syntax: IMPORT symbol
Description: Informs the assembler that the symbol is defined in another source file.
The symbol is imported whether it is referenced in the file or not.
3.6.10 KEEP – Keep Local Symbols
Syntax: KEEP {symbol}
Description: Forces the assembler to describe the symbol in its output file, so it will be
visible to the debugger. If symbol is blank, all local symbols are preserved. By default,
the ARM assembler only preserves symbols in the output file if they are EXPORTed or
require relocation.
Page view 14
1 2 ... 10 11 12 13 14 15 16 17 18 19 20 ... 42 43

Comments to this Manuals

No comments