THEADR and LHEADR (0x80, 0x82)
Every module starts with one of these. The contents are a single name: usually the source file’s name for THEADR, or the module’s name in a library for LHEADR.
| Field | Meaning |
|---|---|
| Name | A count byte and the characters |
LNAMES and LLNAMES (0x96, 0xCA)
Segments, groups and classes do not hold their own names. They refer to entries in a module-wide list of names, by index, and these records add to that list. LNAMES is used by SEGDEF and GRPDEF, and by COMDAT and CEXTDEF. LLNAMES marks local names, private to the module.
+0Name: a count byte and the charactersvaries…more names, to the end of the recordvaries
The names are numbered from 1 in the order they appear, across all the LNAMES and LLNAMES records of the module. An empty name is common: index 1 is often the empty string, used when a segment has no class.