Very newbie question...

Lorenzo <[email protected]>
Newsgroups org.kernel.vger.linux-assembly
Message-ID <[email protected]>
Hi,

i have some problems with my first linux/nasm asm program.
This is a simple "hello world" program but i can't see the "hello world" 
on my screen and i don't find my error.
I work on 64bit amd system.
Someone can illuminate me? :)


Thx

-----------------------------------

section .text
    global   _start

msg   db   'hello, world!',0xa
len   equ   $ - msg

_start:
    push   ebp
    mov   ebp,esp

    push   len
    push   msg
    push   1
    mov   ebx,esp
    mov   eax,4
    int   0x80

    add   esp,12

    mov   ebx,0
    mov   eax,1
    int   0x80
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.