Summary of Module Definition Statements

Statement Description Parameters
BASE=address Set preferred loading address. Loading address
CODEattributes Give default attributes for code segments Attributes
DATAattributes Give default attributes for data segments Attributes
DESCRIPTION 'text' Describe the executable. Descriptive text
EXPORTS [enm=]inm [@ord[keywrd]][parms] Define exported functions and data.
  • Entry name
  • Internal name
  • Ordinal position
  • DECORATED|CONSTANT
  • Parameter size
HEAPSIZE reserve[,commit] Specify local heap size. Virtual stack size
Initial physical memory
LIBRARY [lib][init][term]
LIBRARY [lib]
Identify output as dynamic link library (DLL). Library name
NAME[appname][apptype]
NAME [appname]
Define a name for the executable file. Application name
OLD'[dir]name' Preserve ordinal values from an old DLL Name of old DLL.
PHYSICAL DEVICE[drivername] Identify output as a physical device driver (.SYS) Name of driver.
STACKSIZE reserve[,commit] Specify local stack size. Virtual stack size
Initial physical memory
STUB 'filename' Add DOS executable file to module. Filename to add
VERSION 'file number' Adds string to executable. Version number to add
VIRTUAL DEVICE[drivername] Output a virtual device driver (.VDD). Name of driver


Module Definition Files


Module Definition File Reserved Words