Unable to access memory address.
"J." <[email protected]>
| Newsgroups | org.kernel.vger.linux-assembly |
|---|---|
| Message-ID | <Pine.LNX.4.21.0503242354490.1652-100000@hestia> |
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.