Keil Logo

Initialization Segments

Segments which contain initialization data or code have fixed predefined names. The information in these segments is used in the startup code which is executed prior to the main function.

Segment
Name
Prefix
Memory
Class
Description
?C_INITEDATA? NCONST Contains initialization values for data, idata, and near variables.
?C_INITHDATA? NCONST Contains initialization values for xdata, far and huge variables.
?C_C251STARTUP?
?C_C251STARTUP1?..
?C_C251STARTUP3?
CODE Startup code for the C main function. Most of the startup code is contained in the files START251.A51, INITEDAT.A51, and INITHDAT.A51. However, the startup code also contains initialization code for bits and small data objects which are stored in a C251 generated segment. The L251 Linker/Locater locates all startup segments in ascending order without gaps.
  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.