blob: ff5d4ae2b17a4c18dbfd65413b75252c0ed53840 [file] [log] [blame] [raw]
.section .rodata
helloworld:
.string "Hello world\n"
.text
sc:
movl %esp, %ecx
sysenter
.global _start
_start:
call start
start:
popl %eax
pushl $12
addl $(helloworld - start), %eax
pushl %eax
pushl $0
pushl $0
pushl $1
movl $140, %eax
call sc
addl $20, %esp
pushl $0
movl $54, %eax
call sc