Hello World
A Hello World program made with ASM (GAS)
.data HelloWorld: .ascii "Hello World!\n" len = . - HelloWorld .text .globl _start _start: # Write syscall mov $4, %eax mov $1, %ebx mov $HelloWorld, %ecx mov $len, %edx int $0x80 # Exit syscall mov $1, %eax mov $0, %ebx int $0x80

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Download this code in plain text format here