Keil Logo

RESERVE Linker Directive

Abbreviation

RE

Arguments

RESERVE (range 〚, ...〛)

Default

No memory areas are reserved.

µVision

Options — L251 Misc — Reserve.

Description

The RESERVE directive reserves specified memory areas (range) and prevents the linker from locating anything in them. This directive may be used to skip over memory areas that are unavailable or that are used for special purposes (memory buffer, FIFO, and so on).

A warning message is generated if an absolute section uses a reserved memory area.

See Also

CLASSES, SEGMENTS

Example
L251 file1.obj RESERVE (1000h-1FFFh)

This example reserves memory from 1000h to 1FFFh.

  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.