.section ".note.openbsd.ident", "a" .int 8 .int 4 .int 0x01 .ascii "OpenBSD\0" .int 201305 .section .data s: .ascii "hello world\n\0" .section .text .globl _start _start: pushl $12 pushl $s pushl $1 xor %eax,%eax pushl %eax mov $4, %eax int $0x80 xorl %eax,%eax pushl %eax pushl %eax incl %eax int $0x80