The Module Format Directives Table is an optional table that allows additional options to be specified. It also allows for the extension of the linear EXE format by allowing additional tables of information to be added to the linear EXE module without affecting the format of the linear EXE header. Likewise, module format directives provide a place in the linear EXE module for 'temporary tables' of information, such as incremental linking information and statistic information gathered on the module. When there are no module format directives for a linear EXE module, the fields in the linear EXE header referencing the module format directives table are zero. Each Module Format Directive Table entry has the following format
          ÚÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
      00h ³ DIRECT #  ³ DATA LEN  ³     DATA OFFSET     ³
          ÀÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ

Module Format Directive Table

DIRECT # = DW Directive number. The directive number specifies the type of directive defined. This can be used to determine the format of the information in the directive data. The following directive numbers have been defined

DATA LEN = DW Directive data length. This specifies the length in byte of the directive data for this directive number.

DIRECTIVE OFFSET = DD Directive data offset. This is the offset to the directive data for this directive number. It is relative to beginning of linear EXE header for a resident table, and relative to the beginning of the EXE file for non-resident tables.


[Back: Entry Table]
[Next: Verify Record Directive Table]