blob: abf5afb9db356c2642b702113a9e3412b8f0f15a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
.data
str:
.asciz "a string\n"
.text
.extern u_write
.globl _start
_start:
movq $0x1, %rdi
leaq str, %rsi
movq $0x9, %rdx
callq u_write
movq $0x1, %rax
xorq %rdi, %rdi
syscall
|