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
TYP=l
TYP=2
TYP=3
The
module
is
an
absolute
module.
The
module
is
a
relocatable
module.
Fixups
other
than
base
fixups
may
still
be
present.
The
module
is
a
Position
Independent
Code
module.
It
can
be
loaded
anywhere.
No
fixups
are
needed.
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