Keil Logo

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

segment is the name of a segment.
address is 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)
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.