Up ] Docs Home ]

Format of LX linear executable entry table [array]

Back ] Next ]

Offset Size Description

00h

BYTE

number of bundles following (00h = end of entry table)

01h

BYTE

bundle type
00h = empty
01h = 16-bit entry
02h = 286 callgate entry
03h = 32-bit entry
04h = forwarder entry
bit 7 : if additional parameter typing information is present

---bundle type 00h---

no additional fields

---bundle type 01h---

02h

WORD

object number

04h

BYTE

entry flags
bit 0 : exported
bits 7-3 : number of stack parameters

05h

WORD

offset of entry point in object (shifted by page size shift)

---bundle type 02h---

02h

WORD

object number

04h

BYTE

entry flags
bit 0 : exported
bits 7-3 : number of stack parameters

05h

WORD

offset of entry point in object

07h

WORD

reserved for callgate selector (used by loader)

---bundle type 03h---

02h

WORD

object number

04h

BYTE

entry flags
bit 0 : exported
bits 7-3 : number of stack parameters

05h

DWORD

offset of entry point in object

---bundle type 04h---

02h

WORD

reserved

04h

BYTE

forwarder flags
bit 0 : import by ordinal
bits 7-1 : reserved

05h

WORD

module ordinal (forwarder's index into Import Module Name table)

07h

DWORD

procedure name offset or import ordinal number

Note:

All fields after the first two bytes are repeated N times.