Select Git revision
init-04.s NaN GiB
.file "init-04.c"
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "Bitte b eingeben: "
.LC1:
.string "%d"
.LC2:
.string "a * b + a + b = %d\n"
.text
.globl main
.type main, @function
main:
.LFB11:
.cfi_startproc
subq $24, %rsp
.cfi_def_cfa_offset 32 # #include <stdio.h>
leaq .LC0(%rip), %rdi #
movl $0, %eax # int main (void)
call printf@PLT # {
leaq 12(%rsp), %rsi # int a = 42;
leaq .LC1(%rip), %rdi # int b;
movl $0, %eax # printf ("Bitte b eingeben: ");
call __isoc99_scanf@PLT # scanf ("%d", &b);
movl 12(%rsp), %eax # printf ("a * b + a + b = %d\n", a * b + a + b);
leal 1(%rax), %esi # return 0;
imull $42, %esi, %esi # }
addl %eax, %esi
leaq .LC2(%rip), %rdi
movl $0, %eax
call printf@PLT
movl $0, %eax
addq $24, %rsp
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE11:
.size main, .-main
.ident "GCC: (Debian 8.3.0-6) 8.3.0"
.section .note.GNU-stack,"",@progbits