# # write-hello.s -- 画面に hello と表示するプログラム # .text .align 2 .globl _start _start: movl $1, %ebx movl $hellonl, %ecx movl $6, %edx movl $4, %eax int $0x80 movl $1, %eax int $0x80 .data .align 0 hellonl: .byte 104 .byte 101 .byte 108 .byte 108 .byte 111 .byte 10