TAL Programmer's Guide

Global Map
Compiler Listing
096254 Tandem Computers Incorporated 15–9
CODE Listing If the CODE and LIST directives (the defaults) are in effect, the compiler produces an
octal code listing following the local map if one exists.
Figure 15-6 shows a sample CODE listing that corresponds to the previous hash
procedure. The octal address in the leftmost column is the offset from the procedure
base. (If ABSLIST is in effect, the compiler attempts to list addresses relative to the
code segment.) Each octal address is followed by eight words of instructions to the
end of the procedure.
Figure 15-6. CODE Listing
Address Octal Instruction Words
000000 060704 000110 100000 024711 140705 030101 006177 000116
000010 103777 000136 010410 040402 030003 040402 030115 000011
000020 143705 000012 044402 013767 100000 040402 005135 004243
000030 000202 000111 040401 000203 000100 125006
ICODE Listing If the ICODE and LIST directives are in effect, the compiler produces an instruction
code mnemonic listing. Figure 15-7 shows a sample ICODE listing that is equivalent to
the CODE sample.
Figure 15-7. ICODE Listing
Line Address Instruction Mnemonics
9. 000000 1 LDD L-004 0 STAR 0 1 LDI +000 7 PUSH 711
10. 000004 0 LOAD L-005,I 0 LRS 01 0 ANRI +177 7 STAR 6
11. 000010 7 LDXI -001,7 0 LDRA 6 0 BUN +010
13. 000013 1 LOAD L+002 1 LLS 03 2 LOAD L+002 2 LRS 15 1 LOR 2 LOAD
L-005,I,7
000021 1 XOR 0 STOR L+002 7 BOX -011,7
15. 000024 0 LDI +000 1 LOAD L+002 2 LDLI +135 2 ORRI 243 1 LMPY 2 STAR 1
000032 2 LOAD L+001 1 LDIV 0 STRP 0 0 EXIT 006
Global Map If the GMAP, MAP, and LIST directives are in effect, the global map lists all identifiers
in the compilation unit. If the NOMAP directive appears at the end of the source file,
the compiler suppresses the global map but not the local maps. Figure 15-8 shows
sample entries of a global map.