Description: The LNAMES record is a list of names that can be referenced by subsequent SEGDEF and GRPDEF records in the object module.

The names are ordered by occurrence and referenced by index from subsequent records. More than one LNAMES record may appear. The names themselves are used as segment, class and group names.

   1 byte  2 bytes
  ┌───────┬────────────────┬---
  │  96   │ Record         │
  │       │  Length        │
  └───────┴────────────────┴---

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

LNAMES list of names record

Each name appears in count/char format, and a null name is valid. The character set is ASCII.


NOTES:

The linker imposes a limit of 255 logical names per object module.

Any LNAMES records in an object module must appear before the records that refer to them. Because it does not refer to any other type of object record, an LNAMES record usually appears near the start of an object module.


[Back: 95H LINNUM Line Number Record]
[Next: 99H SEGDEF Segment Definition Record]