What is Functions of CPU and Functions of ALU ?

functions
functions

Functions of Central Processing Unit CPU

The central processing unit (CPU) that carries out the instructions of a computer program of a computer is a piece of hardware. It performs the logical, and basic arithmetical, input/output operations of a computer system.

The functions of a CPU are discussed by its internal units. These functions  are below:

 

Functions of Arithmetic Logic Unit ALU

An arithmetic logic unit (ALU) is a digital circuit used to perform arithmetic and logic operations.
An ALU performs the following two functions:

Example:
(i) It performs arithmetic operations such as addition, subtraction, multiplication, and division.
Example:  X=2+3, Y=7-4, Z=X*Y, P=Y/ X.

(ii) It performs logical operations to make a decision.
Example:
Marks=73
IF  Marks>=80 THEN
Grade=“A+”
ELSEIF Marks>=75 THEN
Grade=“A”
ELSEIF Marks>=70 THEN
Grade=“A-”

Functions of Control Unit CU

A Control Unit CU to tell a memory.

A Control Unit CU to tell a memory have been sent to the processor how to respond to the instruction to an arithmetic logic unit and output and input.


A Control Unit CU performs the following function:

It controls all the units connected with the computer system by generating necessary control signals. The possible control signals are
_____
MEMR- Memory Read
MEMW- Memory Write

___
IOR-Input Output Read
IOW-Input Output Write

What are Functions of CPU and Functions of ALU?

You are reached 

✓Functions of Control Unit CU,
✓Functions of Control Processing Unit CPU,
✓Functions of Arithmetic Logic Unit ALU,
✓What is ALU, CU, CPU,
✓Example of Arithmetic Logic unit,

Be the first to comment

Leave a Reply

Your email address will not be published.


*