# GNU-Assembler版 Hello,world!
# これは必要
.global _start
.text
_start:
movl $msg, %ecx
# 文字列の長さ
movl $13, %edx
# システムコールNo.4
movl $4, %eax
int $0x80
# システムコールNo.1
# exit
movl $1, %eax
int $0x80
.data
msg: ascii "Hello,world!\n"