blob: c17bec52d0cd98fa7c5ac5064a4545ca0c3e124b [file] [log] [blame] [raw]
.section .rodata
helloworld:
.string "Hello world\n"
.text
.global _start
_start:
call start
start:
popl %eax
pushl $12
addl $(helloworld - start), %eax
pushl %eax
pushl $0
pushl $0
pushl $1
subl $4, %esp
movl $140, %eax
int $99
addl $24, %esp
pushl $0
subl $4, %esp
movl $54, %eax
int $99