Keil Logo

SEGSIZE Linker Directive

Abbreviation

SS

Arguments

SEGSIZE (segment-name (size) [, ...])

Default

None.

µVision

Options � LX51 Misc � Misc Controls.

Description

The SEGSIZE directive specifies a new length for the segment specified by segment-name (which may be any segment contained in the input modules). The size is a numeric value (with an optional leading plus ('+') or minus ('-') sign) that specifies the new segment length.

  • When prefixed with a plus sign ('+'), the size is added to the segment length.
  • When prefixed with a minus sign ('-'), the size is subtracted from the segment length.
  • A size with no sign specifies the new segment length.

Note

  • Sizes for BIT segments may be specified in bits using the dot ('.') operator.
See Also

SEGMENTS

Example
LX51 MYPROG.OBJ SEGSIZE (?STACK (+20H))
  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.