MONDAY 7TH SEPTEMBER 2020
HOW THE PROCESSING UNIT
WORKS?
COMPUTER PROCESSING 1
MONDAY 7TH SEPTEMBER 2020
The processing unit comprises:
Memory
RAM (Random Access Memory)
ROM (Random Access Memory)
Control Unit (CU)
Arithmetic Logic Unit (ALU)
COMPUTER PROCESSING 2
MONDAY 7TH SEPTEMBER 2020
Lets see how these parts work together to carry out an instruction.
▪The user gives instructions through any input device.
▪These instructions get converted in the digital form of 0’s and 1’s.
▪Now, the data/instruction gets stored in RAM for further processing.
COMPUTER PROCESSING 3
MONDAY 7TH SEPTEMBER 2020
▪Control Unit takes the instruction from the memory and transfers it to
ALU.
▪ALU performs arithmetical or logical operations on the data provided
by the control unit.
▪The result or output obtained gets transferred to output device or
stored in memory for sometime.
COMPUTER PROCESSING 4
MONDAY 7TH SEPTEMBER 2020
COMPUTER PROCESSING 5
MONDAY 7TH SEPTEMBER 2020
COMPUTER PROCESSING 6
MONDAY 7TH SEPTEMBER 2020
COMPUTER PROCESSING 7
MONDAY 7TH SEPTEMBER 2020
COMPUTER PROCESSING 8
MONDAY 7TH SEPTEMBER 2020
▪The actual mathematical operation for each instruction is performed
by a combinational logic circuit within the CPU's processor known as
the arithmetic logic unit or ALU.
▪In general, a CPU executes an instruction by fetching it from memory,
using its ALU to perform an operation, and then storing the result to
memory.
COMPUTER PROCESSING 9
MONDAY 7TH SEPTEMBER 2020
▪The Central Processing Unit (CPU) 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.
▪The CPU interacts closely with primary storage, or main memory,
referring to it for both instructions and data.
COMPUTER PROCESSING 10