Intel iAPX 86 User Manual page 237

Table of Contents

Advertisement

iAPX 86,88 Family Utilities
Additional Information for iRMX 86 Users
After the overlays have been linked, they must be located. The code and data
segments must be placed in the memory locations that were reserved when we first
located the root. In this case the STACK and MEMORY segments must be the same
for the overlays and the root:
The CGROUP and DGROUP base address must be specified in order to compute
offset information. The final base address assigned to DGROUP by LOC86 will be
rounded down to OFFCOH.
Once the overlays are located, the root is linked and located into an executable form.
The PUBLICSONL Y control will resolve references to symbols in the overlay
modules. Other than the addition of this input control, the LINK86 and LOC86
command must be identical to those used previously:
*
*
*
*
*
LINK86 :F1:ROOT.OBJ,USER.LIB, f<cr>
PUBLICSONLY(:F1 :OV1, :F1 :OV2)<cr>
The executable forms of the root and its overlay files are contained in :FI :ROOT,
:FI:OVI, and :Fl :OV2. Figure 1-6 shows the resulting layout of memory.
r-
l~o",.---cs
""
ROOT CODE
"":
I-
SPACE
- - - - - - - t
8A9B
8A9C
OVERLAY
f-
CODE
l'
SPACE
OFFCO - D S , S S
OFFCE
ROOT DATA
-,
f-
SPACE
_ _ ----4105DF
105EO
OVERLAY
f-
DATA
I'
SPACE
- - - - - - - - - - 4
~~:~!
STACK AREA
1
- - - - - - - - - - t
10C33
1 0 C 3 4 - S p
MEMORY
Figure 1-6. Memory Organization for Example 4
121616-10
1-11

Advertisement

Table of Contents
loading

This manual is also suitable for:

Iapx 88

Table of Contents