Keil Logo Arm Logo

L166 User's Guide

RESERVE Linker Directive

Abbreviation

RE

Arguments

RESERVE (range 〚, ...〛)

Default

No memory areas are reserved.

µVision

Options — L166 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, SECTIONS

Example
L166 file1.obj RESERVE (4h-200h)

This example reserves memory from 0004h to 0200h.


L166 file2.obj RESERVE (0x200-0x3FFF, 0x10000-0x1FFFF)

This example reserves 0200h-3FFFh and 10000h-1FFFFh.

Related Knowledgebase Articles

Keil logo

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.