Skip to content

Instantly share code, notes, and snippets.

@brycelelbach
Created October 19, 2010 20:42
Show Gist options
  • Select an option

  • Save brycelelbach/635069 to your computer and use it in GitHub Desktop.

Select an option

Save brycelelbach/635069 to your computer and use it in GitHub Desktop.
.file "unroll_meta.cpp"
.text
.globl main
.type main, @function
main:
.LFB43:
.cfi_startproc
subq $56, %rsp
.cfi_def_cfa_offset 64
movb $102, (%rsp)
movb $102, 1(%rsp)
movb $102, 2(%rsp)
movb $102, 3(%rsp)
movb $102, 4(%rsp)
movb $102, 5(%rsp)
movb $102, 6(%rsp)
movb $102, 7(%rsp)
movb $102, 8(%rsp)
movb $102, 9(%rsp)
movb $102, 10(%rsp)
movb $102, 11(%rsp)
movb $102, 12(%rsp)
movb $102, 13(%rsp)
movb $102, 14(%rsp)
movb $102, 15(%rsp)
movb $102, 16(%rsp)
movb $102, 17(%rsp)
movb $102, 18(%rsp)
movb $102, 19(%rsp)
movb $102, 20(%rsp)
movb $102, 21(%rsp)
movb $102, 22(%rsp)
movb $102, 23(%rsp)
movb $102, 24(%rsp)
movb $102, 25(%rsp)
movb $102, 26(%rsp)
movb $102, 27(%rsp)
movb $102, 28(%rsp)
movb $102, 29(%rsp)
movb $102, 30(%rsp)
movb $102, 31(%rsp)
movb $102, 32(%rsp)
movb $102, 33(%rsp)
movb $0, 34(%rsp)
movq %rsp, %rdi
call puts
movl $0, %eax
addq $56, %rsp
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE43:
.size main, .-main
.ident "GCC: (Debian 4.5.0-6) 4.5.1 20100617 (prerelease)"
.section .note.GNU-stack,"",@progbits
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment