COMTRAN Reconstruction

J28-6169 · January 1962

90.02.03

PDF page 141 of 221. Download the scanned PDF

The page as scanned

The scan of PDF page 141 of J28-6169
Select the scan to open it at full size.

The text read off it

[90.02.03]

4. Compiler generated names

The symbolic listing will contain many references to names not found in the source language. These compiler generated names have the same form; a two or three letter symbol, followed by a right parenthesis, followed by a number, i.e.:

SYM)NNN

The symbol part, SYM, may be one of the following:

Symbol Abbreviation For
I. RS Result Storage
II. TS Temporary Storage
III. BL Base Locator
IV. PI Positional Indicator
V. CP Constant Pool
VI. GN Generated Name
VII. SYS System Subroutine
VIII. IOC I/O Subroutine or Communication

The number NNN specifies a particular item in one of the 8 groups. In the case of constants (CP references), the designation CP)+NN is used.

1. RS - Result Storage

Result Storage cells are reserved by the compiler to temporarily store the results of a CT statement. Unique result storage cells are reserved for each section of the program as they are needed. Examples of instructions which refer to Result Storages might be:

SLW    1.RS)0
LAS    2.RS)2

The number preceding the decimal point is a section-number and the number following the right parenthesis is a particular result storage within the section. Section numbers begin with 0 (main body of program) and increase by 1 for each 'Begin Section' in the source program. Near the end of the symbolic listing (after the last instruction generated by the Procedure Division) the following instructions will appear:

       USE    1
RS)    BSS    N(Omitted if no Result Storages are required)

These instructions reserve the necessary cells for all Result Storage. N is the sum of maximum Result Storage used in each section.