On Mon, Sep 27, 2004 at 07:32:06PM -0600, ben franchuk wrote:
Peter C. Wallace wrote:
Isn't self modifying code pretty much
deprecated these days (aside from
trampolines and such)
So what is a trampoline?
I'm not sure if this fits his usage of the word here, but in the Redboot
boot loader (part of the eCos operating system), they use something they
call a trampoline to start a program loaded into ram.
I have yet to see a good use for self-modifying code.
Other than
subroutines and interupts placing data into a code segement the only
self modifying code I have seen was for the 8088.
Wouldn't JIT compilers be essentially self modifying code?
--
Joshua D. Boyd
jdboyd(a)jdboyd.net
http://www.jdboyd.net/
http://www.joshuaboyd.org/