History
The IBM SSEC, demonstrated in January 1948, had the ability to modify its instructions or otherwise treat them exactly like data. However, the capability was rarely used in practice. In the early days of computers, self-modifying code was often used to reduce use of limited memory, or improve performance, or both. It was also sometimes used to implement subroutine calls and returns when the instruction set only provided simple branching or skipping instructions to vary the control flow. This use is still relevant in certain ultra-RISC architectures, at least theoretically; see for example one instruction set computer. Donald Knuth's MIX architecture also used self-modifying code to implement subroutine calls.
Read more about this topic: Self-modifying Code
Famous quotes containing the word history:
“The history of philosophy is to a great extent that of a certain clash of human temperaments.”
—William James (18421910)
“History does nothing; it does not possess immense riches, it does not fight battles. It is men, real, living, who do all this.... It is not history which uses men as a means of achievingas if it were an individual personits own ends. History is nothing but the activity of men in pursuit of their ends.”
—Karl Marx (18181883)
“It gives me the greatest pleasure to say, as I do from the bottom of my heart, that never in the history of the country, in any crisis and under any conditions, have our Jewish fellow citizens failed to live up to the highest standards of citizenship and patriotism.”
—William Howard Taft (18571930)