L166 User's Guide

SECSIZE Linker Directive

Abbreviation

SS

Arguments

SECSIZE (sectionname<[>%classname<]> (size))

µVision

Options — L166 Misc — Misc Controls.

Description

The SECSIZE directive allows you to specify size of the memory space that a section uses. For BIT sections the size may be specified in bits with the dot ('.') operator.

The sectionname and classname specify the section to modify.

The size specifies the change in the section size. You may specify this value as follows:

SizeDescription
+numberAdds number bytes to the size of the section.
-numberSubtracts number bytes to the size of the section.
numberSets the section size to number.
Example
L166 file1.obj SECSIZE (?C_USERSTACK%NDATA (+ 200H))

This example enlarges the size of ?C_USERSTACK in NDATA by 200h bytes.