Computer Architecture- f2.docx
Computer Architecture- f2.docx
The computer memory is made up of a number of partitions. Each partition consists of an address and
its contents. Table 3.2 uses 8 bits for each address and 8 bits for the content. In a real computer
memory, the address and its contents are actually much larger than this.
The address will uniquely identify every location in the memory and the contents will be the binary
value stored in each location. Let us now consider two examples of how the MAR and MDR registers can
be used when carrying out a read and write operation to and from memory: First, consider the READ
operation.
We will use the memory section shown in Table 3.2. Suppose we want to read the contents of memory
location 1111 0001; the two registers are used as follows:
Buses
Within the computer system and within the CPU itself there are many different components that have to
work together. In order to communicate with each other there needs to be some sort of connection
This connection comes in the form of buses. A bus is a set of parallel wires that connect two ore more
The bus can be broken down into three different wires, these are:
Address bus - This carries signals that relate to addresses between the processor and memory. It is Uni-
directional which means that data will only travel in one direction.
Control bus - This carries signals that relate to control e.g. an instruction to read data. This can be uni-
directional or Bi-directional.
Data Bus - This will carry actual data between components and devices. It is bi-directional which
With program instructions and data now being stored in the same memory, a process had to be designed
to allow CPUs (Central Processing Units) to find the correct instruction and execute it... after all its no
The process that was designed is known as the FETCH - EXECUTE - CYCLE
These three operations are constantly repeated by the CPU as the computer is running this allows the CPU
to quickly and efficiently work through new instructions as they are required.