[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Format of new executable entry table item:
Offset  Size    Description
 00h    BYTE    number of entry points (00h if end of entry table list)
 01h    BYTE    segment number (00h if end of entry table list)
 02h 3N BYTEs   entry records
                Offset  Size    Description
                 00h    BYTE    flags
                                bit 0: exported
                                bit 1: single data
                                bits 2-7: unused???
                 01h    WORD    offset within segment

Format of new executable relocation data (immediately follows segment image):
Offset  Size    Description
 00h    WORD    number of relocation items
 02h 8N BYTEs   relocation items
                Offset  Size    Description
                 00h    BYTE    relocation type
                                00h LOBYTE
                                02h BASE
                                03h PTR
                                05h OFFS
                                0Bh PTR48
                                0Dh OFFS32
                 01h    BYTE    flags
                                bit 2: additive
                 02h    WORD    offset within segment
                 04h    WORD    target address segment
                 06h    WORD    target address offset

Format of new executable resource data:
Offset  Size    Description
 00h    WORD    alignment shift count for resource data
 02h  N RECORDs resources
        Format of resource record:
        Offset  Size    Description
         00h    WORD    type ID
                        0000h if end of resource records
                        >= 8000h if integer type
                        else offset from start of resource table to type string
         02h    WORD    number of resources of this type
         04h    DWORD   reserved for runtime use
         08h  N Resources (see below)
Note:   resource type and name strings are stored immediately following the
          resource table, and are not null-terminated

Format of new executable resource entry:
Offset  Size    Description
 00h    WORD    offset in alignment units from start of file to contents of
                the resource data
 02h    WORD    length of resource image in bytes
 04h    WORD    flags
                bit 4: moveable
                bit 5: shareable
                bit 6: preloaded
 06h    WORD    resource ID
                >= 8000h if integer resource
                else offset from start of resource table to resource string
 08h    DWORD   reserved for runtime use
Notes:  resource type and name strings are stored immediately following the
          resource table, and are not null-terminated
        strings are counted strings, with a string of length 0 indicating the
          end of the resource table

Format of new executable module reference table [one bundle of entries]:
Offset  Size    Description
 00h    BYTE    number of records in this bundle (00h if end of table)
 01h    BYTE    segment indicator
                00h unused
                FFh movable segment, segment number is in entry
                else segment number of fixed segment
 02h  N RECORDs
        Format of segment record
        Offset  Size    Description
         00h    BYTE    flags
                        bit 0: entry is exported
                        bit 1: entry uses global (shared) data
                        bits 7-3: number of parameter words
        ---fixed segment---
         01h    WORD    offset
        ---moveable segment---
         01h  2 BYTEs   INT 3F instruction (CDh 3Fh)
         03h    BYTE    segment number
         05h    WORD    offset
Note:   table entries are numbered starting from 1

Format of new executable resident/nonresident name table entry:
Offset  Size    Description
 00h    BYTE    length of string (00h if end of table)
 01h  N BYTEs   ASCII text of string
 N+1    WORD    ordinal number (index into entry table)
Notes:  the first string in the resident name table is the module name; the
          first entry in the nonresident name table is the module description
        the strings are case-sensitive; if the executable was linked with
          /IGNORECASE, all strings are in uppercase

This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson