Skip to content
Snippets Groups Projects
Select Git revision
  • 51c48d0b2befc70c1d08ed8ae213569b0bb5bfcd
  • master default protected
2 results

readme.md

Blame
  • strings-6.s 730 B
    	.file	"strings-6.c"
    	.section	.rodata.str1.1,"aMS",@progbits,1
    .LC0:
    	.string	"%s"
    .LC1:
    	.string	"Answer: %d\n"
    	.text
    	.globl	main
    	.type	main, @function
    main:
    .LFB11:
    	.cfi_startproc
    	subq	$40, %rsp
    	.cfi_def_cfa_offset 48
    	movl	$1963821354, 28(%rsp)
    	movabsq	$8583909746840200520, %rax
    	movq	%rax, 14(%rsp)
    	movl	$1684828783, 22(%rsp)
    	movw	$2593, 26(%rsp)
    	leaq	14(%rsp), %rsi
    	leaq	.LC0(%rip), %rdi
    	movl	$0, %eax
    	call	printf@PLT
    	movzbl	28(%rsp), %esi
    	movsbl	%sil, %esi
    	leaq	.LC1(%rip), %rdi
    	movl	$0, %eax
    	call	printf@PLT
    	movl	$0, %eax
    	addq	$40, %rsp
    	.cfi_def_cfa_offset 8
    	ret
    	.cfi_endproc
    .LFE11:
    	.size	main, .-main
    	.ident	"GCC: (Debian 6.3.0-18+deb9u1) 6.3.0 20170516"
    	.section	.note.GNU-stack,"",@progbits