- We discuss the design of a linker for the Intel 8088/80×86 processors which resembles LINK of MS-DOS in many respects.
- It may be noted that the object modules of MS-DOS differ from the Intel specifications in some respects.
Object Module Format (Explain object module of the program)
- An Intel 8088 object module is a sequence of object records, each object record describing specific aspects of the programs in the object module.
- There are 14 types of object records containing the following five basic categories of information:
Binary image (i.e. code generated by a translator)
Debugging information (e.g. line number in source program).
Miscellaneous information (e.g. comments in the source program).
- We only consider the object records corresponding to first three categories-a total of eight object record types.
- Each object record contains variable length information and may refer to the contents of previous object records.
- Each name in an object record represented in the following format: length( 1 byte)name