$ cat bla.c #include int main(void) { int i = 0, j = 1; for(i = 32; i < 64; ++i) { char buf[10000]; for(j = 0; j < 10000; ++j) buf[j] = i; buf[9999] = 0; puts(buf); } return 0; } $ gcc -S -O0 -o bla.S bla.c $ cat bla.S .file "bla.c" .text .globl main .type main, @function main: .LFB0: .cfi_startproc pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 movq %rsp, %rbp .cfi_def_cfa_register 6 subq $10016, %rsp movl $0, -4(%rbp) movl $1, -8(%rbp) movl $32, -4(%rbp) jmp .L2 .L5: movl $0, -8(%rbp) jmp .L3 .L4: movl -4(%rbp), %eax movl %eax, %edx movl -8(%rbp), %eax cltq movb %dl, -10016(%rbp,%rax) addl $1, -8(%rbp) .L3: cmpl $9999, -8(%rbp) jle .L4 movb $0, -17(%rbp) leaq -10016(%rbp), %rax movq %rax, %rdi call puts addl $1, -4(%rbp) .L2: cmpl $63, -4(%rbp) jle .L5 movl $0, %eax leave .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size main, .-main .ident "GCC: (Gentoo 4.6.3 p1.11, pie-0.5.2) 4.6.3" .section .note.GNU-stack,"",@progbits