When the compile option LIST is specified, an object program listing is generated in the compiler list file.
Object program listing output format
The output format of the object program listing is shown below.
BEGINNING OF NONDECLARATIVE PROCEDURES [9] BBK=00004(01) ............LX .........PN.PX [1] [2] [4] 0000017A 8D05A0000000 lea eax,%GWA+000000A0 00000180 A39C000000 mov %GWA+0000009C,eax 00000185 C7059800000000000000 mov %GWA+00000098,00000000 : OTHAR.1 [6] 0000018F GLB.3 [3] --- 12 --- MOVE [5] 0000018F 66A114000000 mov ax,%COA+00000014 : +10 [8] 00000195 66A3DA000000 mov %GWA+000000DA,ax : divisor [7] 0000019B A0DB000000 mov al,%GWA+000000DB : divisor+1 000001A0 240F and al,0F 000001A2 0C30 or al,30 000001A4 A2DB000000 mov %GWA+000000DB,al : divisor+1 --- 13 --- MOVE 000001A9 66A112000000 mov ax,%C0A+00000012 : +00 000001AF 66A3DC000000 mov %GWA+000000DC,ax : dividend 000001B5 A0DD000000 mov al,%GWA+000000DD : dividend+1 000001BA 240F and al,0F 000001BC 0C30 or al,30 000001BE A2DD000000 mov %GWA+000000DD,al : dividend+1 --- 15 --- COMPUTE <REDUNDANT STORE> <REDUNDANT STORE> <REDUNDANT STORE> <REDUNDANT STORE> --- 17 --- EXIT PROGRAM 000001C3 EB8D jmp GLB.2 BBK=00005(00) NEVER EXECUTED .........PX END OF A
[1] Offset
An object relative offset of a statement in machine language.
[2] Object code in machine language
The object code of the statement in machine language.
Note
With a forward-referencing branch instruction, the machine code area may have been altered.
[3] Procedure name and procedure number
Compiler-generated procedure name and procedure number.
[4] Assembler instruction
A statement in machine language represented in the Microsoft macro assembler language.
[5] Verb name and line number
A verb name and a line number given in the COBOL program.
[6] Area name
The name of the area used by the COBOL compiler.
[7] Defined word written in the COBOL program
The following defined words and expressions are displayed in the object program listing:
Defined word | Expression in the object program listing |
---|---|
Defined word (alphanumeric) | Defined word (alphanumeric) Example. mov %GWA+00000108,AX :IDX |
[8] Constant written in the COBOL program
The following constants and expressions are displayed in the object program listing:
Literal | Expression in the object program listing |
---|---|
Numeral | Numeral Example. sub esp,%COA+00000040 : +8 |
Character (alphanumeric) | Character (alphanumeric) Example. mov ax,%COA+00000012 : “ABCD” |
Numeral (internal floating point) Numeral (external floating point) Boolean (internal) Boolean (external) | None displayed |
[9] Optimization information
Optimization indicates the kind and location of an optimization operation. Refer to "OPTIMIZE (global optimization handling)" in the "NetCOBOL User’s Guide".