L166 User's Guide

GROUPS Linker Directive

Abbreviation

GR

Arguments

GROUPS (groupname <[>(address)<]> <[>,...<]>)

µVision

Options — L166 Misc — Misc Controls.

Description

The GROUPS directive specifies a starting address (address) and/or a locating order for a group name (groupname). All sections that are not specified with the SECTIONS directive are located according to the arguments specified in the GROUPS directive.

See Also

CLASSES, DPPUSE, SECTIONS

Example
L166 myfile.obj GROUPS (NDATA (0x10000), NCONST)

This example locates all sections that are members of the NDATA group starting at address 10000h. NCONST sections are located immediately following all NDATA sections.