MPI Unit 1
MPI Unit 1
MPI Unit 1
Microprocessor
What is a Microprocessor?
Definition:
“The Microprocessor is a
Multipurpose,
Programmable,
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.”
Basic concepts of Microprocessor
• Microprocessor is a computer Central Processing
Unit (CPU) on a single chip that contains millions
of transistors connected by wires.
Microprocessor
Registers
Control
Logic
ALU
Basic concepts of Microprocessor
Microcontroller
RAM
Micro
ROM
Processor
I/O
Microprocessor vs Microcontroller
Microprocessor Microcontroller
It is vital part of computer system. It is vital part of embedded system.
It contain CPU inside it but does not It has CPU, fixed size of RAM, ROM and
contain on chip RAM, ROM and other peripherals mounted on a single chip.
peripherals.
It is multipurpose device which performs It is designed for specific task with fixed
several tasks. input, processing and output.
E.g. Software development, word E.g. Operating a washing machine,
processing, playing games, surfing etc. handling mouse click event etc.
It operates at high speed compared to It operates at comparatively lower speed
microcontroller. than microprocessor.
E.g. Clock speed of latest microprocessor is E.g. Clock speed is measured in MHz.
measured in GHz.
Application: Application:
Desktop PC’s, Laptops, notepads etc. Microwave oven, washing machine,
remote control, Mouse etc.
Basic concepts of Microprocessors
Microcomputer
RAM
Micro
Keyboard ROM Display
processor
I/O
Microprocessor, Microcontroller and
Microcomputer
Components of Microprocessor
• Brain of the
computer.
• Performs
Arithme Small additional
Arithmetic and tic and memory location,
Register which are used to
Logical Logical
operations
Array store and transfer
Unit data.
(ALU)
Control Unit
Control Bus
Address Bus
Data Bus
System Bus
Address bus
Control Bus
Address Bus
Data Bus
System Bus
Address bus
• Transfers the addresses of
Memory or I/O devices.
• Address bus is
unidirectional.
• The maximum address
capacity is equal to two to
the power of the number
of lines present (2lines).
E.g. 8085 has 16-
address lines
Maximum address
capacity
216 = 65536
bytes
Data bus
Control Bus
Address Bus
Data Bus
System Bus
Data bus
• It is used to transfer data
within Microprocessor and
Memory/IO devices.
• Data Bus is bidirectional as
Microprocessor requires to
send and receive data.
• Each wire of data bus is
used to transfer the data
corresponding to a single
bit of binary data.
E.g. 8085 has 8 - data
lines
8085 is known as
8-bit processor
System bus
Control Bus
Address Bus
Data Bus
System Bus
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.
• Control Bus is bidirectional.
• This is a dedicated bus,
because all timing signals
are generated according to
control signal.
Microprocessor systems with bus organization
Input/Output
Arithmetic
and Register
Logical Array System Bus
Unit (ALU)