Chapter 1
Chapter 1
2
Fundamentals of Microprocessor and microcomputers
• What is Microprocessor? Why we learn microprocessor?
-It
3 is an integrated circuit that performs the core functions of computers.
4
instructions from a memory, decode and execute them i.e. performs
certain arithmetic and logical operations, accept data from input
device, and send results to output devices.
The Process through which the processor controls the
execution of instructions is referred as the fetch-decode-
execute cycle or instruction cycle.
It consists of three steps
• Fetching
• Decoding
• Executing
How does Microprocessor Work?.....
• A microprocessor accepts binary data as input, decode it, processes
5
that data, and then provides output based on the instructions stored in
the memory.
• FETCH-DECODE-EXECUTE principle---Instruction Cycle
• Blockdiagram below shows working principles of CPU, 3 main buses
How does Microprocessor Work?.....
It consists of three steps
1. Fetching the instruction from memory
6
Everything stored in memory is 0s and 1s
When you write programs or instructions on your keyboard it is
stored as 0s and 1s. Who converts it?
2. Decoding or identifying the instruction
Understanding the opcode-the processor need to know what to do
on the binary opcode.
Understanding what to do
Do you think that decode step is converting data into 0s & 1s?
•8 Components of Microcomputer
Input Unit
Through this unit data and instructions are fed to the memory of
the computer.
The basic purpose of this unit is to read the data into the
machine.
The program from the memory is read into the machine along
with the input data which are required to solve or compute the
problem by the machine.
Components of microcomputer
Memory Unit
The memory unit of a digital computer consists of devices
9
which are capable of storing information.
The memory of a computer is used for storing two distinct type
of information such as data to be processed by the computer and
program through which the result of the desired problem is
obtained.
Computer program and data are stored in the Memory Unit.
RAM: Random Access Memory
• is used by the computer for temporary storage of programs that it is running.
• User Memory
• Working memory of the CPU
• Can be altered
What is Microcomputer… cont’d
ROM: Read only Memory
10
o Used to store programs that do not need changes, Can not be altered
o At the time of manufacturing of the computer/microprocessor, in that ROM;
the programs that are used by the computer/microprocessor for its
functioning; those programs are stored in the ROM.
•13 Suppose there are 10 instructions written in the program and there
after the execution of 4 instructions some data has been produced or
some output has been produced which has to be used in the remained
program.
• So that intermediate result is going to be temporarily stored in some
storing components i.e., Register Array.
15
Data Bus − Lines that carry data to and from memory are called data
bus. It is a bidirectional bus with width equal to word length of the
microprocessor.
Address Bus − It is a unidirectional, responsible for carrying address
of a memory location or I/O port from CPU to memory or I/O port.
Control Bus − Lines that carry control signals like RD/WR signals,
clock signals, interrupt signal or ready signal are called control bus.
They are bidirectional.
Signal that denotes a device is ready for processing is called ready
signal.
Signal that indicates to a device to interrupt its process is called an
interrupt signal.
Interconnections of the basic components
Address Bus −the job of address bus is to identify the locations
16 When processor wants to write on memory or IO needs 3 steps
1. 1st address bus identify the locations-- now location is known
2. Then data bus carry the information---here you know the data
3. 3rd step the processor has to indicate to read a data or write the data
which will be done by control bus– now it is write to memory/io
who is writing memory/io/processor?
• Microprocessor: is a single chip consists of; ALU, Registers and Timing and
Control Circuit
• Microcontroller: It is integrated electronic computing device that includes three
major components on a single chip; Microprocessor, Memory, I/O ports
Difference between Microprocessor and Microcontroller…….
• Microprocessor is an IC which has only the CPU inside them i.e. only the
processing powers such as Intel’s Pentium 1,2,3,4, core 2 duo, i3, i5, i7
18 etc.
Intel etc.
Applications of Microprocessors/Microcontroller
Microprocessors are used for applications where tasks are unspecific like
developing software, games, websites, photo editing, creating documents
etc.
• Communication equipment such as servers, Switches, routers,
workstations, television, satellite communication so on………..
• Tablets
• Phones
Microcontrollers used for dedicated/specific tasks
• Home appliances, such as microwave oven, washing machine, gaming
machines (PS), baby monitors, refrigerator ….
• Calculators
• Accounting system
• Traffic light Control
• TV remote, keyboard, mouse
• Military applications
19
• ETC.
Evolution of Microprocessor
First Generation (1971 to 1972)
4-bit microprocessors
Second Generation (1973 to 1978)
8-bit microprocessors
Third Generation (1979 to 1980)
16-bit microprocessors
Fourth Generation (1981 to 1995)
32-bit microprocessors
Fifth Generations (1995 till now)
64-bit microprocessors
Microprocessor is scaling from 4004 to Core i7, 9.
20
Development of Intel Microprocessors History
• 4004-1971
• 8008-1972
• 8080-1974
• 8085-1976 first commercial, standard, complete and well crafted microprocessor
• 8086 – 1979 this is where we are studying now-complete, powerful, standard, comm..
• 80286 - 1982
• 80386 - 1985
• 80486 - 1989
• Pentium - 1993 In the evolution
• Pentium Pro - 1995 Functionality has become better
• Pentium MMX -1997 Speed of the CPU become faster
• Pentium II - 1997 Size compacted/reduced
• Computational progress
Pentium II Celeron - 1998
becomes faster, smaller, more
• Pentium II Zeon - 1998
efficient
• Pentium III - 1999
• Pentium III Zeon - 1999
• Pentium IV - 2000
• Pentium IV Zeon – 2001
• C2D
• Ci3
• Ci5 21
•
Introduced in 1971.
Intel 4004 It was the first microprocessor by Intel.
It was a 4-bit µP.
Had 4 bit data bus
Its clock speed was 740KHz.
had 12-bit addresses for programs
640 bytes data memory
It had 2,300 transistors.
It could execute around 60,000
instructions per second.
had a separate memory for both data
and program.
16 pin dual inline package hw spec 22
8-bit Microprocessors
What is 8-bit microprocessor
means?
Its data bus is 8-bit wide and hence, 8 bits
of data can be transmitted in parallel from
or to the microprocessor.
23
Introduced in 1972.
Intel 8008 It was the first 8-bit µP.
It was 8 bit data bus
It was 14 bit address bus
Can access 16 KB of memory
Its clock speed was 500 KHz
Could execute 50,000 instructions
per second. Average?????
Sometimes multiple instructions are completed in
a single clock cycle and sometimes one instn. may
be handled over multiple clock cycles.
28
Introduced in 1978.
It was first 16-bit µP.
Its clock speed is 4.77 MHz, 8 MHz and 10 MHz,
INTEL 8086 depending on the version.
Its data bus is 16-bit
address bus is 20-bit.
16-bit I/O address, hence it can access 2 power
16 =65536 I/O ports
It had 29,000 transistors.
Could execute 2.5 million instructions
per second.
It could access 1 MB of memory.
It had 22,000 instructions.
It had Multiply and Divide
instructions.
The 8086 provides fourteen 16-bit
INTEL 8088
Introduced in 1979.
19
30
8086 Major Improvements over 8085/88 Microprocessors
32
INTEL 80286
Introduced in 1982.
It was 16-bit µP.
Its clock speed was 8
MHz.
Its data bus is 16-bit and
address bus is 24- bit.
It could address 16 MB of
memory.
It had 134,000 21
transistors.
33
The 80286 Microprocessors
34
Next
George Moor’s Law
‘When you have the more transistors can be fitted on
the chip, computational progress become significantly
faster, smaller and more efficient over time”
35
32-BIT
MICROPROCESSORS
36
Introduced in 1986.
23
37
80386 Microprocessors
The main features of 80386 microprocessor
♣ The 80386 also can operate in either real or protected mode.
♣ More memory capacity data bus 32bit (232 = 4gigabytes)
♣ Virtual memory in protected mode up to 64 terabyte (2 46 byte) [1]
♣ The 80386SX microprocessor has the same internal structure as
386 but it has only a 16 bit external data bus and 24 bit address
bus (16`MB)
38
Next
Introduced in 1989.
INTEL 80486
It was also 32-bit µP.
It had 1.2 million
transistors.
Its clock speed varied
from 16 MHz to 100
MHz depending upon
the various versions.
8 KB of cache memory
was introduced.
39
39
80486 Microprocessors
40
Next
Introduced in 1993.
INTEL PENTIUM
It was also 32-bit µP.
41
41
INTEL PENTIUM PRO
Introduced in 1995.
It was also 32-bit µP.
It had 21 million
transistors.
Cache memory:
8 KB for
instructions.
8 KB for data.
42
42
INTEL PENTIUM II
Introduced in 1997.
It was also 32-bit µP.
Its clock speed was 233
MHz to 500 MHz.
Could execute 333 million
instructions per second.
43
43
INTEL PENTIUM II XEON
Introduced in 1998.
44
44
INTEL PENTIUM III
Introduced in 1999.
It was also 32-bit µP.
Its clock speed varied
from 500 MHz to 1.4
GHz.
It had 9.5 million
transistors.
45
INTEL PENTIUM IV
Introduced in 2000.
It had 42 million
transistors.
46
64-BIT
MICROPROCESSORS
47
Intel Core 2 Intel Core i3
48
Summary of 8086 family Microprocessors
The Intel 8086 family microprocessors includes the 8086, 8088,
80186, 80286, 80386, 80386sx, 80486, and 804 86sx
Evolution of Intel’s Microprocessors
80486 80386 80286 8088 8086 8085 8080 Product
25-50 16-23 6-16 5-8 5-10 3-8 2-3 Clock Rate (MHz)
32 32 24 20 20 16 16 Address bus
49
Thank You
an end
Wogayehu A.@2023/24
50