Thursday, March 24 23:54:49

Hello,

I am totally new to asm and have a question. I trying the following
nasm program from the document http://www.leto.net/writing/nasm.txt . 

section .text
 global main

main:
 pop     ebx
 dec     ebx
 pop     ebp
 pop     ebp

When I try to execute it this is what happends.
~: ./program 12 7
Illegal instruction

Some searches on the Internet the only clou's turned up are type of `howto
bufferoverflow' ... Hmmzz.. :( So I decided to use GDB. 

The debugger says:
Cannot access memory at address 0x6d6f682f

What am I doing wrong and how do I make sure that I use the right memory
addresses ?

Thanks a lot..

J.

-
To unsubscribe from this list: send the line "unsubscribe linux-assembly" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to