An executable program ￿le con tains only one program en try point, which marks the instruction where execution begins. Eac h language de￿nes its o wn program entry point. For example, HP FORTRAN 77/iX uses the main program as the en try point, while HP Pascal/iX uses a program's outer bloc k as the entry point. When creating an executable program ￿le, HP Link Editor/XL separates code and data areas, as sho wn in Figure 4-4 .

The functions of the LINK command are:

Binding

Merging relocatable object modules Searching relocatable libraries (RLs)

Figure 4-4. Linking to Create an Executable Program File

4-10 HP Link Editor/XL