FORTRAN Reference Manual
Program Compilation
FORTRAN Reference Manual—528615-001
9-14
CODE Listing
You can use MAP listing information with DEBUG and low-level Inspect which use 
memory addresses to reference program locations.
The load map lists the address of the common blocks.
CODE Listing
The CODE option lists the instruction codes for a program unit.
Class Specifies the type of entity represented by the identifier.
Type Specifies the data type of the identifier. If the identifier does not appear 
in a data type statement, an exclamation point preceding the entry 
shows that the data type is implicitly declared.
Relative Address Is the relative address of the identifier. The relative address is specified 
as:
•
L+ nnn for variables and arrays in local storage.
•
L- nnn for dummy arguments of a subprogram.
•
LX+ nnn for dynamically allocated local data items in the extended 
data segment.
•
&nnn for a statically allocated data items in the extended data 
segment.
•
C+ nnn for entities in common (where nnn represents an offset 
from the start of the common block. The actual offset is shown 
later in the common map).
•
nnnnn for statement labels (an offset from the start of the program 
unit. The actual offset is shown later in the load map).
The map does not include an entry for a program unit name.
Mode States whether the address mode of a variable or array is direct or 
indirect. Integer, logical, and real variables in local storage are DIRECT. 
Variables of all other data types, arrays, and entities that appear in 
COMMON, SAVE, or DATA statements, or that are equivalenced to 
such entities are INDIRECT.
Block Name Is the name of the common block where the identifier resides, if it is an 
entity in common. FORTRAN indicates the unnamed common block as 
BLANK^. All items having extended addresses are EXTENDED.
Figure 9-4. Compiler Listing—CODE Listing
VST0904.vsd
0 3 0 0 0 0
1 7 7 7 7 7
Memory addresses
of code words
Code Words
0 0 0 0 0
0 0 0 2 0
0 0 0 4 0 1
0 0 0 2 1 2
0 0 0 0 1 6
0 0 3 4 0 2
0 0 0 0 0 0
0 0 2 0 0 0
0 0 0 0 1 6
0 0 0 4 0 1
0 0 0 0 0 0
0 0 0 0 5 6
0 4 0 0 0 0
1 7 7 7 7 7
0 4 0 0 0 0
0 0 0 0 5 6










