Intel 121748-001 manual Frame Target, Frame GI G, Public Offset

Models: 121748-001

1 122
Download 122 pages 57.59 Kb
Page 45
Image 45

8086 Object Module Formats

Version 4.0

(Informal Discussion) The FRAME NUMBER is present iff both the SEGMENT INDEX and GROUP INDEX are zero.

A non-zero GROUP INDEX selects some qroup1 this group is taken as the -frame of reference- for references to all public symbols defined in this record, e.q., LINK-86 and

LOCATE-86 will perform the following actions: (1) Any fixup of the form:

TARGET: El (P)

FRAME: TARGET

(where .pM is a public symbol in this PUBDEF record) will be converted by LINK-86 to a fixup of the form:

TARGET: SI(L),d

FRAME: GI (G)

where MSI (L)" and "d" are provided by the SEGMENT I,NDEX

and PUBLIC OFFSET fields. (The Mnormalft action would have the frame specifier in the new fixup be the same as in the

old fixup, viz.: FRAME: TARGET.) (2) When the value of a

public symbol, as defined by the SEGMENT INDEX. PUBLIC OFFSET, and (optionally) FRAME NUMBER fields, is converted to a {base,offset} pair, the base part will be taken as

the base of the indicated group. (If a non-neqative 16- bit offset cannot then complete the definition of the public symbol's value, an error will occur.)

A GROUP INDEX of zero selects no qroup. LINK-S6 will not alter the FRAME specification of fixups referencing the symbol, and LOCATE-86 will take, as the base part of the absolute value of the public symbol, the canonic frame of the segment (either LSEG or PSEG) determined by the

SEG~ENT INDEX field. (End of Informal Discussion)

puaLIC NAME

The PUBLIC NAME field qives the name of the object whose location in MAS is to be made available to other modules. The name must contain 1 or more characters.

(Note) R&L's only cdnstraint upon the characters in names is that they lie within the range 20H (space) throuqh 7EH" (tilde) inclusive. Other characters may be used, but may produce awkward results when output to listing devices, etc.

However, translators may proscribe the admissible

character set more strictly. (End of Note)

PUBLIC OFFSET

The PUBLIC OFFSET field is a l~-bitvalue, which is either the

offset of the Public Symbol with respect to an LSEG (if SEG~EN'r INDEX > 0), or the offset of the Public Symbol with respect to the specified FRA~E (if SEGMENT INDEX = ~).

as

Page 45
Image 45
Intel 121748-001 manual Frame Target, Frame GI G, Public Offset