How Computers Work: the Cpu and Memory

Only available on StudyMode
  • Download(s) : 162
  • Published : January 27, 2011
Open Document
Text Preview
How Computers Work: The CPU and Memory
[pic]

Figure 0 shows the parts of a computer:
|The Central Processing Unit: |[pic] | |(CPU), | | |Buses, |Figure 0: Inside The Computer | |Ports and controllers, | | |ROM; | | |Main Memory (RAM); | | |Input Devices; | | |Output Devices; | | |Secondary Storage; | | |floppy disks, | | |hard disk, | | |CD-ROM | |

This part of the reading will examine the CPU, Buses, Controllers, and Main Memory. Other sections will examine input devices, output devices, and secondary memory. 

The Central Processing Unit (CPU)

|[pic] | |Figure 1: The Central Processing Unit |

The computer does its primary work in a part of the machine we cannot see, a control center that converts data input to information output. This control center, called the central processing unit (CPU), is a highly complex, extensive set of electronic circuitry that executes stored program instructions. All computers, large and small, must have a central processing unit. As Figure 1 shows, the central processing unit consists of two parts: The control unit and the arithmetic/logic unit. Each part has a specific function.

Before we discuss the control unit and the arithmetic/logic unit in detail, we need to consider data storage and its relationship to the central processing unit. Computers use two types of storage: Primary storage and secondary storage. The CPU interacts closely with primary storage, or main memory, referring to it for both instructions and data. For this reason this part of the reading will discuss memory in the context of the central processing unit. Technically, however, memory is not part of the CPU. 

Recall that a computer's memory holds data only temporarily, at the time the computer is executing a program. Secondary storage holds permanent or semi-permanent data on some external magnetic or optical medium. The diskettes and CD-ROM disks that you have seen with personal computers are secondary storage devices, as are hard disks. Since the physical attributes of secondary storage devices determine the way data is organized on them, we will discuss secondary storage and data organization together in another part of our on-line readings. 

Now let us consider the components of the central processing unit. 

• The Control Unit 
The control unit of the CPU contains circuitry that uses electrical signals to direct the entire computer system to carry out, or execute, stored program instructions. Like an orchestra leader, the control unit does not execute program instructions;...
tracking img