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:
“Its nice to be a part of history but people should get it right. I may not be perfect, but Im bloody close.”
—John Lydon (formerly Johnny Rotten)
“Dont you realize that this is a new empire? Why, folks, theres never been anything like this since creation. Creation, huh, that took six days, this was done in one. History made in an hour. Why its a miracle out of the Old Testament!”
—Howard Estabrook (18841978)
“Hence poetry is something more philosophic and of graver import than history, since its statements are rather of the nature of universals, whereas those of history are singulars.”
—Aristotle (384322 B.C.)