#include <stdio.h> int main() { printf("Hello, World!\n"); return 0; }
#include <unistd.h> int main() { write(1, "Hello, World!\n", 14); return 0; }
.section .data msg: .ascii "Hello, World!\n" len = . - msg .section .text .globl _start _start: mov $4, %eax mov $1, %ebx mov $msg, %ecx mov $len, %edx int $0x80 mov $1, %eax mov $0, %ebx int $0x80