Self-modifying code: Difference between revisions

Content deleted Content added
Minor typo: examplein -> example in
Two more typos: sollution -> solution; ofcourse -> of course
Line 38:
'xor var at address with the value "opcodeOf(Inc) xor opcodeOf(dec)"'
 
Choosing this sollutionsolution will have to depend ofcourseof course on the value of 'N' and the frequency of state changing.
 
Some claim that use of self-modifying code is not recomended when a viable alternative exists, because such code can be difficult to understand and maintain.