Intel iAPX 86 User Manual page 208

Table of Contents

Advertisement

iAPX 86,88 Family Utilities
Additional Information for Intellec Series III Users
Example 2: Preparing to Use an ICE-86 System
Another way to test and debug software is using in-circuit emulation (ICE) system.
The ICE-86 loader can load only absolute object modules. Therefore, you cannot
use the output from LINK86 immediately; it must be located too.
The whole process of preparing a program for ICE-86 execution takes three steps.
The first two are the same as in Example 1: the program must be translated and
linked:
RUN PLM86 : 6:ICETST.SRC SMALL<cr>
RUN LINK86 :F6:ICETST.OBJ, :F6:
The above example shows a straightforward linkage with no change to the default
control setting. Note that NOOVERLA Y and NOBIND, the defaults, are set. The
ICE-86 loader has no facility for dealing with overlay modules created by using the
LINK86 OVERLAY control. In this case there are no unresolved external references
in the object module. If the module did contain unresolved references, it could still
be executed by the ICE-86 system. However, as with execution under DEBUG-86,
executing instructions that contain unresolved references will produce undefined
results.
Figure 1-3 shows the print file produced during the invocation shown above.
LINK86 does not produce a symbol table with NOBIND is in effect.
The last step before ICE-86 execution is transforming the relocatable object module
into an absolute object module with LOC86. The invocation line shown below
would produce an object file that could be loaded and executed by the ICE-86
Emulator:
RUN LOC86 : F6: ICEJST. LNK<cr>
SERIES-III 8086 LINKER,
Vx.y
INPUT FILES: :F6:ICETST.OBJ, :F6:SMALL.LIB
OUTPUT FILE: :F6:ICETST.LNK
CONTROLS SPECIFIED IN INVOCATION COMMAND:
DATE:
MMIOOIYY
TIMB:
LINK MAP OF MODULE LOANER
LOGICAL SEGMENTS INCLUDED:
LENGTH ADDRESS ALIGN
SEGMENT
037DH ------
W
CODE
OOOOH ------
W
CONST
0192H ------
W
DATA
03FbH ------
W
STACK
OOOOIl ------
W
MEMORY
OOOOH ------
G
??SEG
NPUT MODULES INCLUlibD:
F6: ICETS! .OBJ (LOANER)
F'6: SMALL. LIB(IlQATTACH)
F6:SMALL.LIB(liQCLOSE)
F6:SMALL.LIB(DQCREATE)
F6 : SMALL. LIB (DQDETACIl)
F6: SMALL. LIB (DQEXI T)
F6:SMALL.LIB(DQGETSYSTEMID)
F6:SMALL.LIB(DQOPEN)
F6:SMALL.LIB(DQOVERLAY)
F6: SMALL. LIB (DQWRITE)
F6:SMALL,LIB(SYSTEMSTACK)
CLASS
CODE
CONST
DATA
STACK
MEMOBY
OVERLAY
Figure 1-3. LINK86 Default Print File
1-5

Advertisement

Table of Contents
loading

This manual is also suitable for:

Iapx 88

Table of Contents