8886
Object
Module
Formats
Verslon
4.8
(FSd)
The
TARGET
is
specified
with
an
explicit
FRAME
NUMBER:
in
this
case
the
FRAME
is
determined
as
in
(F3)
above.
(F6)
No
X.
There
is
no
FRAME.
This
is
a
way
to
indicate
to
R&L
that
an
8089
self-relative
reference
is
to
be
processed.
A
siqned
displacement
between
the
LOCATION
20-bit
address
and
the
TARGET
20-bit
address
must
be
computed.
Nomenclature
describing
FRAME's
is
similar
to
the
nomenclature
for
TARGET's,
viz:
above
FRAME:
SI«seqment
name»
FRAME:
GI«group
name»
FRAME:
EI«symbol
name»
FRAME:
<FRAME
NUMB~R>
FRAME:
LOCATION
FRAME:
TARGET
FRAME:
NONE
[FA1
[F11
[F21
[F3]
{F41
[F51
[F6]
In
practice,
for
an
808~
memory
reference,
it
is
likely
that
the
FRAME
specified
by
a
self-relative
reference
will
be
the
canonic
FRAME
of
the
LSEG
containinq
the
LOCATION,
and
the
FRAME
specified
by
a
seqment
relative
reference
will
be
the
canonic
FRAME
of
the
LSEG
containinq
the
TARGET.
This
will
be
further
explained
below.
SELF-RELATIVE
FIXUPS '
A
self-relative
fixup
operates
as
follows:
A
memory
address
is
implicitly
defined
by
LOCATION:
namely
the
address
of
the
byte
following
LOCATION
(because
at
the
time
of
a
self-relative
reference,
the
8086
IP
(Instruction
Pointer)
or
the
8989
TP
(Task
block
Proqram
pointer)
is
pointing
to
the
byte
following
the
reference)
•
For
8086
self-relative
references,
if
either
LOCATION
or
TARGET
are
outside
the
specified
FRAME,
R&L
qives
a
warninq.
Otherwise,
there
is
a
uniaue
l6-bit
displacement
which,
when
added
to
the
address
implicitly
defined
by
LOCATION,
will
yield
the
relative
position
of
TARGET
in
the
FRAME.
For
8089
self-relative
references
(F~),
if
TARGET
is
not
within
32K
from
LOCATION,
R&L
qives
a
warninq.
Otherwise,
there
is
a
unique
l6-bit
siqned
displacement
between
the
LOCATION
and
the
TARGET.
If
the
LOCATION
is
an
OFFSET,
the
displacement
is
added
to
LOCATION
modulo
~553~:
no
errors
are
reported.
If
the
LOCATION
is
a LOBYTE,
the
displacement
the
range
{-128:l27},
otherwise
R&L
will
qive
displacement
is
added
to
LOCATION
modulo
25~.
must
be
within
a
warninq.
The
17