Mod 1
Mod 1
Module_1
Introduction to Microprocessor
Dr. Shweta B. Thomas
School of Electronics Engineering
Dr. Shweta B. Thomas, VIT Vellore
Dr. Shweta B. Thomas, VIT Vellore
Dr. Shweta B. Thomas, VIT Vellore
Dr. Shweta B. Thomas, VIT Vellore
Module outline
• What is a microprocessor
• Block diagram of a computer system
• Nibble, byte, word and longword
• Internal structure and basic operation of a
microprocessor
• Bus system: data bus, address bus and control
bus.
• History of microprocessors : 4, 8, 16, 32 and
64 byte
5
What does Microprocessor (μp) mean?
Differences between:
Address bus
9
Basic components of a
microcomputer
1. CPU - Central Processing Unit
– The portion of a computer system that carries out the
instructions of a computer program
– The primary element carrying out the computer's functions.
– It is the unit that reads and executes program.
– Program: Set of instructions required to perform some
desired operations.
– The data in the instruction tells the processor what to do.
12
Binary Information
Representation
13
DATA SIZE
Nibble 4 bit
Byte 8 bit
Word 16 bit
14
Internal structure and basic operation of
microprocessor
15
Arithmetic and logic unit (ALU)
• The component that performs the arithmetic
and logical operations
• The most important components in a
microprocessor, and is typically the part of the
processor that is designed first.
• Able to perform the basic logical operations
(AND, OR), including the addition operation.
16
Control unit
• The circuitry that controls the flow of information
through the processor, and coordinates the
activities of the other units within it.
• In a way, it is the "brain within the brain", as it
controls what happens inside the processor, which
in turn controls the rest of the PC.
• On a regular processor, the control unit performs
the tasks of fetching, decoding, managing
execution and then storing results.
17
Register sets
• The register section/array consists completely
of circuitry used to temporarily store data or
program codes until they are sent to the
ALU or to the control section or to memory.
20
Address bus
• The address bus is 'unidirectional', over which the
microprocessor sends an address code to the
memory or input/output.
• The size (width) of the address bus is specified by
the number of bits it can handle.
• The more bits there are in the address bus, the more
memory locations a microprocessor can access.
• A 16 bit address bus is capable of addressing 65,536
(64K) addresses.
21
Control bus
• The control bus is used by the microprocessor to
send out or receive timing and control signals in
order to coordinate and regulate its operation and to
communicate with other devices, i.e. memory or
input/output.
22
Timing Circuit: Micro processor clock
23
HISTORY OF MICROPROCESSORS
24
Contents
Introduction
4-Bit Microprocessors
8-Bit Microprocessors
16-Bit Microprocessors
32-Bit Microprocessors
64-Bit Microprocessors
Introduction
Introduced in 1971.
27
Intel 4040
Introduced in 1974.
It was also 4-bit µP.
28
8-bit Microprocessors
Intel 8008
Introduced in 1972.
29
Intel 8080
Introduced in 1974.
It was also 8-bit µP.
Its clock speed was 2 MHz.
It had 6,000 transistors.
Was 10 times faster than 8008.
Could execute 5,00,000
instructions per second.
30
Intel 8085 Introduced in 1976.
It was also 8-bit µP.
Its clock speed was 3 MHz.
Its data bus is 8-bit and address bus
is 16-bit.
It had 6,500 transistors.
Could execute 7,69,230 instructions
per second.
It could access 64 KB of memory.
It had 246 instructions.
Over 100 million copies were sold.
31
16-bit Microprocessors
Introduced in 1978.
Intel 8086 It was first 16-bit µP.
Its clock speed is 4.77 MHz, 8 MHz
and 10 MHz, depending on the
version.
33
Intel 80186 & 80188
Introduced in 1982.
They were 16-bit µPs.
Clock speed was 6 MHz.
80188 was a cheaper version
of 80186 with an 8-bit
external data bus.
They had additional
components like:
Interrupt Controller
Clock Generator
Local Bus Controller
Counters
34
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 1,34,000 transistors.
It could execute 4 million
instructions per second.
35
32-bit Microprocessors
Introduced in 1986.
Intel 80386 It was first 32-bit µP.
8 KB for data.
Intel Pentium Pro
Introduced in 1995.
It was also 32-bit µP.
It had L2 cache of 256 KB.
It had 21 million transistors.
It was primarily used in server
systems.
Cache memory:
8 KB for instructions.
8 KB for data.
39
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.
MMX technology was supported.
L2 cache & processor were on
one circuit.
40
Intel Pentium II Xeon
Introduced in 1998.
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.
42
Intel Pentium IV
Introduced in 2000.
45
Intel Core i7
Introduced in 2008.
It is a 64-bit µP.
It has 4 physical cores.
Its clock speed is from 2.66 GHz
to 3.33 GHz.
It has 781 million transistors.
It has 64 KB of L1 cache per
core, 256 KB of L2 cache and 8
MB of L3 cache.
46
Intel Core i5
Introduced in 2009.
It is a 64-bit µP.
It has 4 physical cores.
Its clock speed is from 2.40
GHz to 3.60 GHz.
It has 781 million transistors.
It has 64 KB of L1 cache per
core, 256 KB of L2 cache and
8 MB of L3 cache.
47
Intel Core i3
Introduced in 2010.
It is a 64-bit µP.
It has 2 physical cores.
Its clock speed is from 2.93GHz to
3.33 GHz.
It has 781 million transistors.
It has 64 KB of L1 cache per core,
512 KB of L2 cache and 4 MB of
L3 cache.
48
8085
8086
80186
…286
…386
…486
…586
P1
P2
…P3, P4…
C2D..ci7
Dr. Shweta B. Thomas, VIT Vellore
Why Microprocessor required?
Whenever we are talking about memory here, it is a RAM. There are two
types of RAM, SRAM (static, very fast) and DRAM (dynamic). SRAM store
data in flip-flop and DRAM store data in capacitor. Most computer used
majority of dynamic RAM and small amount of static RAM caller cash. But
here in micro. Proc., we don’t have any difference between SRAM and
DRAM.
Dr. Shweta B. Thomas, VIT Vellore
Instructions are stored in the memory and it is executed by the processor.
Compiler or assembler covert the program in machine language (binary
form or opcode). Every instruction has its own unique opcode.
Instructional cycle:
Fetching
Executing
In μp, al no. are given in hexadecimal form i.e., 0,1,2,…….E,F. All single no.
is represented by 4 bite binary form in computer.
Power of 2 BUS (Set of lines, one line can transfer one bit at a
20 = 1
time)
21 = 2
22 = 4 Add bus (identify the location)
23 = 8 Data bus (select the data)
24 = 16
25 = 32 Control bus ( send the signal for read or write
26 = 64 operation to data bus read means processor is
27 = 128 getting data and write means processor
28 = 256
29 = 512 is sending data)
210 = 1024 (1K) All three bus together is called as a system bus. For
220 = 1K X 1K = 1M
read operation first control bus is selected, but for
230 = 1G
230 = 1T write operation first data bus is selected.
Dr. Shweta B. Thomas, VIT Vellore
Evolution of Microprocessors
Intel introduced its first 4-bit microprocessor 4004 in 1971 and its
8-bit microprocessor 8008 in 1972. These microprocessors could
not survive as general purpose microprocessors due to their
design and performance limitations.
low speed,