Content deleted Content added
No edit summary |
m spelling edit |
||
Line 5:
==Assembly style self-modifying code:==
The kinds of self-modifying code that are used in assembly can be for various
# Optimisation of a state dependant loop.
# Runtime code generation, or specialisation of an algorithm in runtime or loadtime (which is popular, for example in the ___domain of real-time graphics).
# Altering of inlined state of an [[object (programming)|object]], or simulating the high level construction of [[Closure (programming)|closures]].
# Patching of subrouting address calling, as done usually at load time of [[DLL|dynamic libraries]].
The second and third types are proboably the kinds mostly used also in high-level languages, such as [[LISP]].
|