Loc86'S Print File; The Symbol Table - Intel iAPX 86 User Manual

Table of Contents

Advertisement

iAPX 86,88 Family Utilities
Loe86's Print File
The print file is always created unless you specify NOPRINT. The optional argu-
ment to PRINT designates the name of the print file. The default print file is the
object file with the extension .MP2.
The print file may contain as many as three parts:
A symbol table
A memory map
An error message list
The symbol table is included in the print file when a PUBLICS, LINES, or
SYMBOLS control is in effect. The memory map is controlled by the
MAP INOMAP control. Error and warning messages, if any, are always added to
the print file.
The Symbol Table
LOC86 produces a symbol table when any or all of the symbol controls (LINES,
SYMBOLS, and PUBLICS) are in effect. No symbol table will be produced when
PURGE is in effect for the print file.
Figure 5-2 shows LOC86's symbol table with the SYMBOLCOLUMNS set at 2 (the
default).
BASE is usually a 4-digit hexadecimal number that is the base address of the group
that contains the symbol. If the base is the stack, then STACK is used instead of a
number. If the symbol is based on another symbol's value, then the BASE and
OFFSET values for that symbol are given.
OFFSET is a 4-digit hexadecimal number that is the offset of the symbol or line
from BASE, or from the current BP for stack symbols.
To compute the physical address of the specified symbol you would use the follow-
ing equation:
(BASE
*
10H)
+
OFFSET
=
Physical Address
Of course, the physical address of the symbols whose base is the STACK, or symbols
that are based on another symbol's value, cannot be computed until run-time.
TYPE describes the kind of symbol it is. There are four possible entries in the TYPE
column:
BAS
based on another symbol's value
LIN
line (not a symbol)
PUB
public symbol
S Y M
local symbol
SYMBOL field contains the name of the symbol or number of the line. If the
SYMBOLCOLUMNS value is 1, this field is 40 characters wide. If the
SYMBOLCOLUMNS value is 2 or more, then this field is 16 characters wide. If the
symbol name is longer than the width of the entry, then the name is hyphenated and
continued in the SYMBOL field on the next line.
LOC86
5-21

Advertisement

Table of Contents
loading

This manual is also suitable for:

Iapx 88

Table of Contents