go to previous page   go to home page   go to next page hear noise highlighting

Answer:

In the picture, what is the contents of:

(It is customary to show bit patterns with a space every 4 bits. The space is not actually part of the pattern.)


Reading and Writing Memory

memory array

The processor can do two fundamental things with main memory:

  1. It can write a bit pattern to a byte at a given memory location.
    • The previous bit pattern in that location will be destroyed.
    • The new bit pattern is now saved for future use.
  2. It can read a bit pattern from a byte from a given location.
    • The processor gets the bit pattern stored at that location.
    • The contents of that location are NOT changed.

For example, if the processor needs to get the byte stored at location 5, it can read it. It gets 0110 1110 as the data it needs (but location 5 in memory does not change.)

Most processors can write (and read) more than a single byte at a time. This speeds things up. But the two operations above are fundamental.


QUESTION 9:

Say that later on the processor needs to save the byte 1111 1111 and picks location 7 for this. How will main memory be changed?


go to previous page   go to home page   go to next page