aboutsummaryrefslogtreecommitdiff
path: root/test/execute/0001-hello.s
blob: d4f5b1176409b47aa4f68940ea18f4bf183214a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
.data
.balign 1
.Lstring.2:
  .ascii "hello\000"

.text
.globl main
main:
  pushq %rbp
  movq %rsp, %rbp
  leaq .Lstring.2(%rip), %rdi
  callq puts
  xorl %eax, %eax
  leave
  ret

.section .note.GNU-stack,"",@progbits