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:
(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.
IF Marks>=80 THEN
ELSEIF Marks>=75 THEN
ELSEIF Marks>=70 THEN
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
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,