Jump to content

Module Definition File: Difference between revisions

From EDM2
Ak120 (talk | contribs)
mNo edit summary
Ak120 (talk | contribs)
mNo edit summary
 
Line 1: Line 1:
The '''module definition file''' (.DEF) contains the attributes that can be included in the executable file.
{|class="wikitable"
{|class="wikitable"
|+Directives
|+Directives

Latest revision as of 23:39, 20 November 2023

The module definition file (.DEF) contains the attributes that can be included in the executable file.

Directives
CODE Assigns characteristics to code segments
DATA Assigns characteristics to data segments
DESCRIPTION Embeds text in executable file
EXETYPE Specifies host operating system
EXPORTS Names functions exported for dynamic linking by other programs
HEAPSIZE Specifies initial size of local heap (C programs only)
IMPORTS Names functions that will be dynamically linked at load time
LIBRARY Builds dynlink library or device driver
NAME Builds application program
OLD Specifies ordinal compatibility with previous version of dynlink library
PROTMODE Flags file as executable in protected mode only
REALMODE Allows file to be executed in real mode
SEGMENTS Assigns characteristics to selected segments
STACKSIZE Specifies size of stack used by primary thread
STUB Embeds MS-DOS-compatible program in new executable file