808~ Object Module Formats

Version 4.1

1.2 Self-Relative Interseqment References

Example: Self-relative jump or call to another segment.

A LLLLLLLLLLLLLL

<- pp

B

LLLLLLLLLLLLLL

,

 

L

 

L

 

 

L

 

L

 

L

+--_......_--+L

 

 

L

 

L

dl

 

L

LOC

,-----~-------

L

 

L

I

<- P'E

L +--.-------+ L

 

I

L +--------+

L

V

L

 

L

 

---------->1 TARGET

I

L

 

 

L

 

L

 

 

L +~-----...

-+

L

 

 

L

 

L

 

 

L

 

L

 

 

LLLLLLLLLLLLLL

 

 

LLLLLLLLLLLLLL

 

 

Both LSEG's are created in the S~Me translation.

FIXUP. REPRESENTATION:

-..----_.- -.

LOCATION: OFFSET or LOBYTE

P5EG: 51 (A) (thi sis the most common cho ice)

TARGET: SI(B) ,dl

or 51 (B) (see diaqram and discussion followinq LOCATE OPE~

LINK. OPERATION:

If L5EG B combines then the LINKER will modify all fixups of the above form by chanqinq SI(B) ,dl to SI(8) ,dl+d2

a' ••••••.•••••••

IB

d2

v

B LLLLLLLLLLLLLL ..

 

L

+--------+

L

L

 

L dl

 

L

L <- p'r

+--------+

 

, TARGET I

L

L V

 

L

L

, 'fARGET ,

 

L

L

=>

L

+--------+

L

L +--------+ L

 

L

 

L

L

 

L

 

L

 

L

L

 

L

 

L

 

L

L

 

L

 

L

 

L

LLLLLLLLLLLLLL

 

LLLLLLLLLLLLLL

InO

Page 100
Image 100
Intel 121748-001 manual InO, Llllllllllllll, Loc, FIXUP. Representation, LINK. Operation