Description : The THEADR record contains the name of the object module . This name identifies an object module within an object library or in messages produced by the linker .
   1 byte  2 byte
  ┌───────┬────────────────┬---
  │  80   │ Record         │
  │       │  Length        │
  └───────┴────────────────┴---


          1 byte   <variable length>        1 byte
       --┌───────┬─────────────────────────┬───────┐
         │String │   Name string           │Chk Sum│
         │Length │                         │or 0   │
       --└───────┴─────────────────────────┴───────┘

THEADR record type definitionThe String Length byte gives the number of characters in the name string; the name string itself is ASCII. This name is usually that of the source program (if supplied by the language translator), or may be specified directly by the programmer (e.g. TITLE pseudo-op).

This record must occur as the first object record. More than one header record is allowed (as a result of an object bind, or if source arose from multiple files as a result of include processing).
NOTES:

The name string is always present; a null name is allowed but not recommended (not much information for a debugger that way).

It is recommended that the module be generated with the full path and filename containing the source code.

The THEADR record must be the first record of the object module.

More than one header record is allowed (as a result of source from multiple files during the include process).


[Back: Object Record Descriptions]
[Next: 88H COMENT Comment Record]