.file "array4.c" gcc2_compiled.: ___gnu_compiled_c: .globl _x .data .align 32 _x: .long 1 .long 2 .long 3 .long 4 .long 5 .space 20 .def ___main; .scl 2; .type 32; .endef .text LC0: .ascii "x[%d] = %d\12\0" LC1: .ascii "Done.\0" .align 4 .globl _main .def _main; .scl 2; .type 32; .endef _main: pushl %ebp movl %esp,%ebp subl $24,%esp call ___main movl $0,-4(%ebp) .p2align 4,,7 L3: cmpl $9,-4(%ebp) jle L6 jmp L4 .p2align 4,,7 L6: addl $-4,%esp movl -4(%ebp),%eax movl %eax,%edx leal 0(,%edx,4),%eax movl $_x,%edx movl (%eax,%edx),%eax pushl %eax movl -4(%ebp),%eax pushl %eax pushl $LC0 call _printf addl $16,%esp L5: incl -4(%ebp) jmp L3 .p2align 4,,7 L4: addl $-12,%esp pushl $LC1 call _printf addl $16,%esp L2: leave ret .def _printf; .scl 2; .type 32; .endef