Keil™, An ARM® Company

BL51 User's Guide

PRECEDE Linker Directive

Abbreviation PC
Arguments PRECEDE (segment « (address) » « , ... »)
Default None.
µVision Options — BL51 Locate — Precede Segments.
Description 

The PRECEDE directive locates segments in DATA memory prior to other relocatable BIT, DATA, and IDATA segments. Segments specified with the PRECEDE directive are located after register banks and absolute BIT, DATA, and IDATA segments.

This directive is specified as follows:

PRECEDE (segment « (address) » « , ... »)

Where

segmentis the name of a segment.
addressis a physical address at which the segment is to be located.

Segments specified are located at the lowest available address in DATA memory in the order specified.

Note

  • The BL51 Linker allows you to use wildcards when locating program segments. For example, ?PR?*?MYFILE may be used to represent all program segments from the MYFILE source file.
See Also BIT, CODE, DATA, IDATA, PDATA, RAMSIZE, STACK, XDATA
Example 
BL51 MYPROG.OBJ,A.OBJ,B.OBJ PRECEDE(?DT?A,?DT?B)