Skip to content
Snippets Groups Projects
Select Git revision
  • 14f4f6e5a26bb22ce0cd287a3b515ecfb5db4abe
  • 2025ss default
  • 2024ss
  • 2023ss
  • 2022ss
  • 2021ss
  • 2020ss
  • 2019ss
  • 2018ss
  • 2017ss
  • 2016ss
  • 2015ss
  • 2014ss
13 results

hello-02.s

Blame
  • hello-02.s 683 B
    	.file	"hello-02.c"
    	.text
    	.section	.rodata.str1.1,"aMS",@progbits,1
    .LC0:
    	.string	"Hello, world!"
    	.text
    	.globl	main
    	.type	main, @function
    main:
    .LFB11:
    	.cfi_startproc                            ; #include <stdio.h>
    	subq	$8, %rsp                          ; 
    	.cfi_def_cfa_offset 16                    ; int main (void)
    	leaq	.LC0(%rip), %rdi                  ; {
    	call	puts@PLT                          ;   puts ("Hello, world!");
    	movl	$0, %eax                          ;   return 0;
    	addq	$8, %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