Intel iAPX 86 User Manual page 251

Table of Contents

Advertisement

Additional Information for Intellec Series IV Users
iAPX 86,88 Family Utilities
K-6
eRE F 86
EXAMPLE. OF CROSS REFERENCE USING CREF86
SiMEOL NAME
A CC,,"SS_f' AGE • .
ALLOCATt. . . • .
APPENllNODE • • .
APPENJjlJlJSMNODi,;.
ARRAYBA:;i,;
ATOI • • . • . •
BTOX . • • . • .
BUBBLESORTVARNAMES.
BUMPLINECOUNT
CHECKHEADER •
CHECKOVERLAY.
_CHECKVARTYPE.
SYMbOL TYP E
-----------
UNKNOWN
UNKNOWN
PROCEDURE NEAR
PROCEDURE NEAR
POINTER
PROCEDURE WORD NEAR
PROCEDURE WORD NEAR
PROCEDURE NEAR
PROCEDURE NEAR
PROCEDURE NEAR
PROCEDURE NEAR
PROCEDURE BYTE NEAR
MMIOOIYY
HH:MM:SS
DEnNING MODULE; REfERRING MODULE(S)
OBJMAN
OBJMAN
UTILITIES
UTILITIES;
S~MBOLSORT;
UTILITIES;
UTILITIES;
SYMBOLSORT;
LISTUTILITIES;
SCANUTILITIES;
SCANUTILITHS;
SCANUTILITHS;
PARSE
SCANMODULES
PROCESSRECORDS
LISTOUTI'UT
PARSE
LISTUTILITIES
LISTOUTPUT
LISTOUTPUT
SCANMODULES
SCAN MODULES
PROCESSRECORDS
PAGE
-=======~-------~
CREF86
EXAMPLE OF CROSS REFER ENCE. USING CREF86
MMIOOIYY
HH.·MM.SS
PAGE
UNLOAD_PAGE
UNKNOWN
OBJMAN
VARAREAP.
POINTER
MEMORYMANAGBMENT;
PROCESSRECORDS
LISTOUTPUT
SYMBOLSORT
VBLOCKLISTHEADER.
wORD
PROCESSkECOHDS;
UTILITIi,;S
LISTOUTPUT
SYMBOLSORT
WARNING
PROCEDURE NEAR
ERROR;
SCANMODULES
PROCESS RECORDS
WRITEDATA
P ROCEDU RE NEAR
LISTUTILITHS;
ERROR
UTILITIES
LISTOUTPUT
WRITEINITLINEBUF.
PROCEDURE NEAR
LlSTUTILITIES;
ERROR
UTILITIES
LISTOUTPUT
WRITELINE
PROCEDURE NEAR
LISTUTILITIIlS;
LISTOUTPUT
WRITENEWLINE.
PROCEDURE NEAR
LISTUTILITIES;
UTILITIES
LISTOUTPUT
WRITETOCOMMANDBUF
PROCEDURE NEAR
PARSE
WRITETOFILE
PROCEDURE NEAR
LISTUTILITIES;
ERROR
LIST OUTPUT
ZERO.
WORD
UTILITIES
Figure K-3. CREF86 Cross-Reference Listing (Cont'd.)
Example 4: Building and Using Library Files
A library is a file that contains object modules. Libraries allow you to collect com-
monly used pieces of software into one file. The library file can be included in a
LINK86 invocation, and LINK86 will use the modules to resolve references.
You can add the output from a translator, LINK86, or LOC86 to a library. The
modules added may be relocatable or absolute; they can have unresolved references
or be completely linked.
Let's consider the following scenario-we have created six routines (SINE,
COSINE, TANGENT, COSECANT, SECAi\T, and COTANGENT). We want to
create a library file that will allow each routine to be linked to programs separately.
The first step necessary to create the library is to translate each rou tine separately.
If
we were to output them in a single source module, the translator would translate
them into one module with six public symbols. We could add this module to a
library, but when we tried to link one of the routines into a program, all six would be
included.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Iapx 88

Table of Contents