You are on page 1of 1

Central processing unit

As shown in (fig01), the CPU consists of the control unit and the ALU
Each of those units makes extensive use of register.
Arithmetic logic unit: the ALU executes the processing operation called for by the
instructions brought from main memory by the control unit. As shown in (fig02), data enter the
ALU and return to main storage the storage register.

input and out put


primary address
storage register
data and instructions
storage
register

ALU control unit

central processing unit (fig01)

The CPU consists of the control unit and the arithmetic logic unit. Each of these of units
The accumulator: shown in this figure is a register that holds the results of processing
operations. Both the storage register and the accumulator can make their contents available to
the adder so that the arithmetic a logical operations can be performed* (*directly or indirectly,
digital computers base all arithmetic operations upon addition).
Larger computers have many registers that can save as accumulators or performs other special
functions are returned to the accumulator for two main storage through the storage register.

primary storage

storage register

comparer adder

accumulator

arithmetic logic unit

The comparer: performs logical comparisons of the contents of the storage register and the
accumulator. Typically, the comparer tests for conditions such as “less than” “equal to” or
“greater than”.

You might also like