Example: Assembler code generated from source code

The following example shows a listing of the assembler code that is generated from source code when you use the LIST compiler option. You can use this listing to find the COBOL statement that corresponds to the instruction that failed.


 000964:             display "PROGRAM IGYTCARA - Beginning".                                     (1)

      (2)       (3)               (4)                        (5)                                        (6)
     0001EA  E320 3394 0171     000964            LAY     R2,5012(,R3)          #
     0001F0  D203 D5E8 2000     000964            MVC     1512(4,R13),0(R2)     #                          _$CONSTANT_AREA+5012
     0001F6  E320 3398 0171     000964            LAY     R2,5016(,R3)          #
     0001FC  D203 D5EC 2000     000964            MVC     1516(4,R13),0(R2)     #                          _$CONSTANT_AREA+5016
     000202  4120 39C8          000964            LA      R2,2504(,R3)          #
     000206  5020 D5F0          000964            ST      R2,1520(,R13)         #
     00020A  E320 338C 0171     000964            LAY     R2,5004(,R3)          #
     000210  D203 D5F4 2000     000964            MVC     1524(4,R13),0(R2)     #                          _$CONSTANT_AREA+5004
     000216  E320 339C 0171     000964            LAY     R2,5020(,R3)          #
     00021C  D203 D5F8 2000     000964            MVC     1528(4,R13),0(R2)     #                          _$CONSTANT_AREA+5020
     000222  D703 D5FC D5FC     000964            XC      1532(4,R13),1532(R13) #
     000228  4110 D5E8          000964            LA      R1,1512(,R13)         #  _ArgumentList
     00022C  E3F0 31D4 0158     000964            LY      R15,4564(,R3)         #  _ACON
     000232  58C0 D080          000964            L       R12,128(,R13)         #  _@CAA
     000236  0DEF               000964            BASR    R14,R15               #  Call "IGZXDSP"
  000965:             perform 050-create-vsam-main-file.
     000238  5820 D670          000965            L       R2,1648(,R13)         #  VN_cell
     00023C  5020 D544          000965            ST      R2,1348(,R13)         #  PfmSv_Cell
     000240  C020 0000 0007     000965            LARL    R2
     000246  5020 D670          000965            ST      R2,1648(,R13)         #  VN_cell
     00024A  A7F4 02F4          000965            J       050-CREATE-VSAM-MAIN-FILE
     00024E  5820 D544          000965            L       R2,1348(,R13)         #  PfmSv_Cell
     000252  5020 D670          000965            ST      R2,1648(,R13)         #  VN_cell
(1)
Source code interspersed with the pseudo-assembler instructions
(2)
Relative location of the object code instruction in the module, in hexadecimal notation
(3)
Object code instructions, in hexadecimal notation

The first two or four hexadecimal digits are the instruction, and the remaining digits are the instruction operands. Some instructions have two operands.

(4)
Source line number associated with this assembler code
(5)
Object code instructions, in compiler-generated pseudo assembler
(6)
Explanation of the instruction and the operands used by the instructions

Related references  
Symbols used in LIST and MAP output