Re: hello again :D

joy merwin monteiro <[email protected]>
Newsgroups org.kernel.vger.linux-assembly
Message-ID <[email protected]>
> It'd work better with esp :)

mebbe :D written code for 8086, rusty .....

 If you had a stack frame (push ebp) the
> return address would be at [esp + 4], I think. Without  it, right at
> [esp]. Haven't tried this, but it sounds like it should work.
>
> I've also heard of copying code onto the stack, and modifying and
> running it there. Hadn't tried this, but I just gave it a shot, and it
> seems to work.

x86 has no concept of a code only data only  since they share the same physical
address space (AFAIR) Von Neumann , Harvard, all that. so works, me thinks....

>
> ; self modifying code - on stack
<snip>


------------------------
<\snip>
 /me worships :D

Joy

--
Only time will tell, but are we listening ? :)
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.