Intel 121748-001 manual

Models: 121748-001

1 122
Download 122 pages 57.59 Kb
Page 29
Image 29

8086 Object Module Formats

Version 4.0

TYP is a 2-bit su~field that specifies the module type. The semantics are defined as follows:

TYP=0 The module is an absolute module.

TYP=l The module is a relocatable module. Fixups other than base fixups may still be present.

TYP=2 The module is a Position Independent Code module. It can be loaded anywhere. No fixups are needed.

TYP=3 The module is a Load-Time Locatable Module.

It can be loaded anywhere with perhaps some base fixups to be performed.

The SEGMENT RECORD COUNT subfield indicates the number of Segment Definition Records in the module.

The GROOP RECORD COUNT subfield indicates the number of Group Definition Records in the module.

The OVERLAY RECORD COUNT subfield indicates the number of

Overlay Definition Records in the module (including Overlay Definition Record for the 'Root').

The OVERLAY RECORD OFFSET subfield is a 4-byte field. It contains a 32-bit unsigned number indicatinq the location in bytes, relative to the start of the object file, of the first Overlay

Definition Record in the module. This field must be zero when OVERLAY RECORD COUNT is zero.

R-MODULE INFO

The R-MODULE INFO field contains a sequence of four 32-bit unsiqned numbers specifyinq the different types and sizes (in bytes)

of memory space that the module will need. It has the followinq fo rmat:

*****1111*********1 1'1*********1111*********' I' 1*****

*

STATIC

*

ft4AXIMUM

*

DYNAMIC

*

MAXIMUM

*

*

*

*

*

*

*

SIZE

*

STATIC

*

STORAGE

*

DYNAMIC

*

*

 

*

SIZE

*

 

*

STORAGE

*

*

 

*

 

*

 

*

 

*

*****1111*********1111*********' 111*********1111*****

STATIC SIZE is the total size of the LTL seqments in the

module. This is the mlnlmum static memory space that must be allocated to the module so that the module can be loaded.

MAXIMU!"1 S'fATIC SIZE is the maximum total size of the LTL seqments in the module. This value must be qreater than or equal to

S'rATIC SIZE. (By defaul t MAXIJ\1UM STATIC SIZE is set e~ual to STATIC

SIZE) This value only qives the maximum soace needed. Dependina on available memory, the loader may allocate any value between the STATIC SIZE and the MAXIMUM STATIC SIZE.

29

Page 29
Image 29
Intel 121748-001 manual