MPI GTU Study Material E-Notes Introduction-To-Microprocessor 13052022114954AM
MPI GTU Study Material E-Notes Introduction-To-Microprocessor 13052022114954AM
MPI GTU Study Material E-Notes Introduction-To-Microprocessor 13052022114954AM
1. Introduction to Microprocessor
Definition:
“The microprocessor is a multipurpose, clock driven, register based, digital-integrated
circuit which accepts binary data as input, processes it according to instructions stored in
its memory, and provides results as output.”
“Microprocessor is a computer Central Processing Unit (CPU) on a single chip that
contains millions of transistors connected by wires.”
Introduction:
A microprocessor is designed to perform arithmetic and logic operations that make use
of small number-holding areas called registers.
Typical microprocessor operations include adding, subtracting, comparing two numbers,
and fetching numbers from one area to another.
2. Components of Microprocessor
Microprocessor is capable of performing various computing functions and making
decisions to change the sequence of program execution.
The microprocessor can be divided into three segments as shown in the figure,
Arithmetic/logic unit (ALU), register array, and control unit.
These three segment is responsible for all processing done in a computer
Arithmetic
Register
and Logical
Array
Unit (ALU)
Control Unit
Register array
It is the part of the register in microprocessor which consists of various registers identified
by letters such as B, C, D, E, H, and L.
Registers are the small additional memory location which are used to store and transfer
data and programs that are currently being executed.
Control unit
The control unit provides the necessary timing and control signals to all the operations in
the microcomputer.
It controls and executes the flow of data between the microprocessor, memory and
peripherals.
The control bus is bidirectional and assists the CPU in synchronizing control signals to
internal devices and external components.
This signal permits the CPU to receive or transmit data from main memory.
Address Bus
It is a group of wires or lines that are used to transfer the addresses of Memory or I/O
devices.
It is unidirectional.
The width of the address bus corresponds to the maximum addressing capacity of the
bus, or the largest address within memory that the bus can work with.
The addresses are transferred in binary format, with each line of the address bus carrying
a single binary digit.
Therefore the maximum address capacity is equal to two to the power of the number of
lines present (2lines).
Data Bus
It is used to transfer data within Microprocessor and Memory/Input or Output devices.
It is bidirectional as Microprocessor requires to send or receive data.
Each wire is used for the transfer of signals corresponding to a single bit of binary data.
As such, a greater width allows greater amounts of data to be transferred at the same
time.
Control Bus
Microprocessor uses control bus to process data, i.e. what to do
with the selected memory location.
Some control signals are Read, Write and Opcode fetch etc.
Various operations are performed by microprocessor with the help of control bus.
This is a dedicated bus, because all timing signals are generated according to control
signal.