808~
Object
Module
Formats
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
L
LOC
,-----~-------
L L
L
+--.-------+
L
I
L
+--------+
L
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
,
dl
I
V
Version
4.1
<-
P'E
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
InO
a'
••••••.•••••••
B
I
•
d2
v
LLLLLLLLLLLLLL
..
L
L
dl
L
+--------+
L
V
L
,
'fARGET
,
L
L
+--------+
L
L
L
L
L
L
L
LLLLLLLLLLLLLL
B
L
L
L
+--------+
L
<-
p'r
L
,
TARGET
I
L
=>
L
+--------+
L
L L
L L
L
L
L L
LLLLLLLLLLLLLL