Self-modifying code – link to debugging

It is not possible to add the new link because it would replace an existing, longer link.

Line 11: Line 11:
Self-modification can be used as an alternative to the method of "flag setting" and conditional program branching, used primarily to reduce the number of times a condition needs to be tested.
Self-modification can be used as an alternative to the method of "flag setting" and conditional program branching, used primarily to reduce the number of times a condition needs to be tested.


The method is frequently used for conditionally invoking [[test/debugging]] code without requiring additional [[computational overhead]] for every [[input/output]] cycle.
The method is frequently used for conditionally invoking test/[[debugging]] code without requiring additional [[computational overhead]] for every [[input/output]] cycle.


The modifications may be performed:
The modifications may be performed: