Offset Contents Comment
Header section
0 124 number of bytes of Machine code section
4 44 number of bytes of initialized data section
8 40 number of bytes of Uninitialized data section (array b[])
(not part of this object module)
12 60 number of bytes of Symbol table section
16 44 number of bytes of Relocation information section
Machine code section (124 bytes)
20 X code for the top of the for loop (36 bytes)
56 X code for call to printf() (22 bytes)
68 X code for the assignment statement (10 bytes)
88 X code for the bottom of the for loop (4 bytes)
92 X code for exiting main() (52 bytes)
Initialized data section (44 bytes)
144 0 beginning of array a[]
148 1
:
176 8
180 9 end of array a[] (40 bytes)
184 3 variable k (4 bytes)
Symbol table section (60 bytes)
188 X array a[] : offset 0 in Initialized data section (12 bytes)
200 X variable k : offset 40 in Initialized data section (10 bytes)
210 X array b[] : offset 0 in Uninitialized data section (12 bytes)
222 X main : offset 0 in Machine code section (12 bytes)
234 X printf : external, used at offset 56 of Machine code section (14 bytes)
Relocation information section (44 bytes)
248 X relocation information