.section ".note.openbsd.ident", "a" .int 8 .int 4 .int 0x01 .ascii "OpenBSD\0" .int 201305 ;; from OPENBSD_VERSION .section .data s: .ascii "hello world\n" .section .text .globl _start _start: movl $4, %eax movl $1, %ebx leal s, %ecx movl $12, %edx int $0x80 xorl %ebx,%ebx xorl %eax,%eax incl %eax int $0x80