.section .data s: .ascii "hello world\n" .section .text .globl _start _start: movl $4, %eax movl $1, %ebx leal s, %ecx movl $11, %edx int $0x80 xorl %ebx,%ebx xorl %eax,%eax incl %eax int $0x80