47Fermer49
SallyLe 07/08/2007 à 18:39
        .file   "test.c"
        .section        .rodata.str1.32,"aMS",@progbits,1
        .align 32
.LC0:
        .string "tab = %d, %d ; x = %d ; z = %d\n"
        .text
.globl main
        .type   main, @function
main:
        pushl   %ebp
        movl    %esp, %ebp
        subl    $40, %esp
        andl    $-16, %esp
        movl    $0, -8(%ebp)
        leal    -8(%ebp), %ecx
        movl    $1, 4(%ecx)
        movl    -8(%ebp), %eax
        leal    (%eax,%eax), %edx
        incl    %eax
        movl    %eax, -8(%ebp)
        incl    -8(%ebp)
        movl    %edx, 16(%esp)
        movl    $1, 12(%esp)
        movl    $1, %eax
        movl    %eax, 8(%esp)
        movl    -8(%ebp), %eax
        movl    %eax, 4(%esp)
        movl    $.LC0, (%esp)
        call    printf
        movl    $0, %eax
        movl    %ebp, %esp
        popl    %ebp
        ret
        .size   main, .-main
        .section        .note.GNU-stack,"",@progbits
        .ident  "GCC: (GNU) 3.3.3"
Ce sera tout ? tongue