Contents of Each Memory Location
See also: binary dataEach memory location in a stored-program computer holds a binary number of some sort. Its interpretation, as data of some data type or as an instruction, and use are determined by the instructions which retrieve and manipulate it.
Some early programmers combined instructions and data in words as a way to save memory, when it was expensive: The Manchester Mark 1 had space in its 40-bit words to store little bits of data – its processor ignored a small section in the middle of a word – and that was often exploited as extra data storage. Self-replicating programs such as viruses treat themselves sometimes as data and sometimes as instructions. Self-modifying code is generally deprecated nowadays, as it makes testing and maintenance disproportionally difficult to the saving of a few bytes, and can also give incorrect results because of the compiler or processor's assumptions about the machine's state, but is still sometimes used deliberately, with great care.
Read more about this topic: Memory Address
Famous quotes containing the words contents of, contents and/or memory:
“Conversation ... is like the table of contents of a dull book.... All the greatest subjects of human thought are proudly displayed in it. Listen to it for three minutes, and you ask yourself which is more striking, the emphasis of the speaker or his shocking ignorance.”
—Stendhal [Marie Henri Beyle] (17831842)
“How often we must remember the art of the surgeon, which, in replacing the broken bone, contents itself with releasing the parts from false position; they fly into place by the action of the muscles. On this art of nature all our arts rely.”
—Ralph Waldo Emerson (18031882)
“Tsars and slaves, the intelligent and the obtuse, publicans and pharisees all have an identical legal and moral right to honor the memory of the deceased as they see fit, without regard for anyone elses opinion and without the fear of hindering one another.”
—Anton Pavlovich Chekhov (18601904)