C251 User's Guide

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?NCONSTContains initialization values for data, idata, and near variables.
?C_INITHDATA?NCONSTContains initialization values for xdata, far and huge variables.
?C_C251STARTUP?
?C_C251STARTUP1?..
?C_C251STARTUP3?
CODEStartup 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.