• OK, it's on.
  • Please note that many, many Email Addresses used for spam, are not accepted at registration. Select a respectable Free email.
  • Done now. Domine miserere nobis.

hello, world.

Architect

Professional INTP
Local time
Today 12:44 AM
Joined
Dec 25, 2010
Messages
6,691
-->
Code:
        .section        .rodata
string:
        .ascii "Hello, world!\n\0"
length:
        .quad . -string         
 
        .section        .text
        .globl _start           
_start:
        movq $4, %rax           
        movq $1, %rbx           
        movq $string, %rcx
        movq length, %rdx
        int $0x80               
        movq %rax, %rbx         
        movq $1, %rax           
        int $0x80
 
Top Bottom