Description: The COMENT record contains a character string that may represent a plain text comment, a symbol meaningful to a program such as LINK or LIB, or some binary coded information that alters the linking process. The comment records are actually a group of items, classified by "comment class".
   1 byte  2 byte
  ÚÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂ---
  ³  88   ³ Record         ³
  ³       ³  Length        ³
  ÀÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁ---


          1 byte  1 byte  <Record length - 3>      1 byte
       --ÚÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄ¿
         ³Comment³Comment³ Commentary byte string ³Chk Sum³
         ³ Type  ³ Class ³    (optional)          ³or 0   ³
       --ÀÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÙ

COMENT record type definition


Comment Type

The comment type byte is bit-significant; layout is:

         <----------------------- 1 byte ------------------------------>
        ÚÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄ¿
        ³ NP    ³ NL    ³   0   ³   0   ³   0   ³   0   ³   0   ³   0   ³
        ÀÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÙ
where

NP

NL

Comment class and commentary byte string

The comment class is an 8-bit numeric which conveys information by its value (accompanied by a null byte string), or indicates the information to be found in the accompanying byte string. The byte string's length is determined from the record length, not by an initial count byte.

The values in use currently are the following:

  • Translator 1 Intel copyright 2 through 9B Intel reserved 9C MS-DOS version -- obsolete 9D Memory Model -- ignored 9E DOSSEG 9F Library indicator A0 OMF extensions 01 02 03 04 Protected Memory Library A1 Symbolic debug information n,'C','V' n,'D','X' n,'H','L' A2 Link Pass A4 EXESTR indicator A8 WKEXT AF IDMDLL indicator B2H-BFH C0H-FFH Notes:

    A COMENT record can appear almost anywhere in an object module. Only two restrictions apply:

    o

    o


    [Back: 80H THEADR Translator Header Record]
    [Next: 88H EXESTR Executable String Record (comment class A4)]