On August 27, Adrian Vickers wrote:
You mean you
_don't_ write self-modifying code? Odd....
It was drilled into me from a very early age that self-modifying code was A
Bad Thing.
As I said, I am not a programmer, so I don't worry about such things.
:) It plays havoc with your designs.... Imagine a circuit that could
reconfigure itself at will...
That's a whole different issue. Sorry, but I have to butt-in here.
Self-modifying code is a time-proven technique frequently used by
history's most clever programmers. Now in the face of RISC-y things
like out-of-order instruction execution and such, it's generally not
possible, but on stuff like PDP10/PDP11 machines it was commonly
employed with much success.
-Dave
--
Dave McGuire
Laurel, MD