You are on page 1of 39

STES’

e
un
,P
Sinhgad College of Arts,

on
ga
be
Science and Commerce

m
,A
r.)
(Jr.College)&C
(J
AS

Ambegaon (Bk)
O
SC

16 June 2021 Sinhgad_CS_Dept 1


e
un
,P
on
ga
Computer Science

be
m
,A
r.)
(J
Mrs. Taraka Ghamande
&C
AS

(Teacher & Moderator In Computer Science)


O
SC

16 June 2021 Sinhgad_CS_Dept 2


SC
O
AS
&C
(J
r.)
,A
m
be
ga
on
,P
un
e
SC
O
AS
&C
(J
r.)
,A
m
be
ga
on
Intel 8085

,P
un
e
Microprocessor
 Computer's Central Processing Unit (CPU) built on
a single Integrated Circuit (IC) is called a

e
un
microprocessor.

,P
on
ga
 A digital computer with one microprocessor which

be
m
acts as a CPU is called microcomputer.

,A
r.)
(J
&C
 It is a programmable, multipurpose, clock -driven,
AS

register-based electronic device that reads binary


O
SC

instructions from a storage device called memory,


accepts binary data as input and processes data
according to those instructions and provides results as
output.
16 June 2021 Sinhgad_CS_Dept 5
Microprocessor
•A microprocessor consists of an ALU, control unit
and register array.

e
un
•Where ALU performs arithmetic and logical

,P
on
operations on the data received from an input device

ga
be
or memory.

m
,A
r.)
•Control unit controls the instructions and flow of data
(J
&C
within the computer.
AS
O
SC

• And, register array consists of registers identified


by letters like B, C, D, E, H, L, and accumulator.

16 June 2021 Sinhgad_CS_Dept 6


Evolution of Microprocessor
First Generation (4 - bit Microprocessors)

e
 The first generation microprocessors were introduced

un
,P
in the year 1971-1972 by Intel Corporation. It was

on
named Intel 4004 since it was a 4-bit processor.

ga
be
 It was a processor on a single chip. It could perform

m
,A
simple arithmetic and logical operations such as

r.)
addition, subtraction, Boolean OR and Boolean AND.
(J
&C
 It had a control unit capable of performing control
AS
O

functions like fetching an instruction from storage


SC

memory, decoding it, and then generating control


pulses to execute it.

16 June 2021 Sinhgad_CS_Dept 7


Evolution of Microprocessor
Second Generation (8 - bit Microprocessor)
 The second generation microprocessors were

e
un
introduced in 1973 again by Intel. It was a first 8 - bit

,P
microprocessor which could perform arithmetic and

on
ga
logic operations on 8-bit words. It was Intel 8008, and

be
another improved version was Intel 8088.

m
,A
r.)
Third Generation (16 - bit Microprocessor)
(J
&C
 The third generation microprocessors, introduced in
AS

1978 were represented by Intel's 8086, Zilog Z800


O

and 80286, which were 16 - bit processors with a


SC

performance like minicomputers.


 Tremendous improvement in speed
 Higher level language
16 June 2021 Sinhgad_CS_Dept
addressing 8
Evolution of Microprocessor
Fourth Generation (32 - bit Microprocessors)
 Several different companies introduced the 32-bit
microprocessors, but the most popular one is the Intel

e
un
80386.

,P
on
 Intel also introduced 80486 ,with built in math

ga
be
coprocessor.(twice as fast as 80386)

m
,A
Fifth Generation (64 - bit Microprocessors)

r.)
(J
 From 1995 to now we are in the fifth generation. After
&C
80856, Intel came out with a new processor namely
AS
O

Pentium processor followed by Pentium Pro CPU,


SC

which allows multiple CPUs in a single system to


achieve multiprocessing.
 Other improved 64-bit processors are Celeron, Dual,
Quad,
16 June 2021 Octa Core processors.
Sinhgad_CS_Dept 9
Evolution of Microprocessor
 Other improved 64-bit processors are Celeron, Dual,

e
Quad, Octa Core processors.

un
,P
 Advanced Microprocessors after 20th Century

on
ga
 2003—Pentium 4EE

be
m
 2004– Pentium 4E

,A
r.)
 2006 – Intel Core 2(64 bit)
(J
&C
 2007 – Pentium Dual Core
AS

 Advanced Features
O
SC

1) Low voltage operating capability


2) High level Parallel Processing
3)Greater speed
16 June 2021 Sinhgad_CS_Dept 10
Microprocessor Year of Word Memory addressing Pins Clock Remarks
Invention Length Capacity

4004 1971 4-bit 1 KB 16 750 First


KHz Microprocessor

8085 1976 8-bit 64 KB 40 3-6 Popular 8-bit

e
MHz Microprocessor

un
,P
8086 1978 16-bit 1MB 40 5-8 Widely used in

on
MHz PC/XT

ga
80286 1982 16-bit 16MB real, 4 68 6-12.5 Widely used in

be
GB virtual MHz PC/AT

m
,A
r.)
80386 1985 32-bit 4GB real, 132 20-33 Contains MMU on

(J
&C 64TB virtual 14X14 MHz chip
PGA
AS

80486 1989 32-bit 4GB real, 168 25-100 Contains MMU,


O

64TB virtual 17X17 MHz cache


SC

PGA and FPU, 1.2 million


transistors

16 June 2021 Sinhgad_CS_Dept 11


Microprocessor Year of Word Memory Pins Clock Remarks
Invention Length addressing
Capacity

Pentium 1993 32- 4GB 237 60- Contains 2 ALUs,2 Caches, FPU,
bit real,32-bit PGA 200 3.3 Million transistors, 3.3 V,
address,64- 7.5 million transistors
bit data bus
Pentium 1995 32- 64GB real, 387 150- It is a data flow processor. It

e
un
Pro bit 36-bit PGA 200 contains second level cache
address MHz also,3.3 V

,P
bus

on
Pentium II 1997 32- - - 233- All features Pentium pro plus

ga
bit 400 MMX technology,3.3 V, 7.5
MHz million transistors

be
Pentium 1999 32- 64GB 370 600- Improved version of Pentium

m
III bit PGA 1.3 II; 70 new SIMD instructions

,A
MHz

r.)
Pentium 4 2000 32- 64GB 423 600- Improved version of Pentium

(J
bit &C PGA 1.3 III
GHz
AS

Itanium 2001 64- 64 address 423 733 64-bit EPIC Processor


bit lines PGA MHz-
O

1.3
SC

GHz

16 June 2021 Sinhgad_CS_Dept 12


Pentium Series
Pentium 1999 32- 64GB 370 600- Improved
III bit PGA 1.3 version of
MHz Pentium II;
70 new

e
un
SIMD

,P
instructions

on
Pentium 2000 32- 64GB 423 600- Improved

ga
4 bit PGA 1.3 version of

be
GHz Pentium III

m
,A
Itanium 2001 64- 64 423 733 64-bit EPIC

r.)
bit address PGA MHz- Processor

(J
lines
&C 1.3
GHz
AS
O

•PGA -Pin Grid Array


SC

•MMX - MultiMedia eXtensions


•EPIC - Explicitly Parallel Instruction Computing
•SIMD - Single Instruction Multiple Data
•ALU - Arithmetic and Logic Unit
•MMU - Memory Management Unit
•FPU - Floating Point Unit
16 June 2021 Sinhgad_CS_Dept 13
Microcomputer Organization

e
un
,P
on
ga
be
m
,A
r.)
(J
&C
AS
O
SC

16 June 2021 Sinhgad_CS_Dept 14


Home Work

e
un
1) Draw the diagram of the Microcomputer

,P
organization & explain the functionality of each

on
ga
block in that.

be
m
,A
r.)
2) Write a short note on the evolution of
(J
&C
microprocessor
AS
O
SC

16 June 2021 Sinhgad_CS_Dept 15


Generic Microprocessor

e
un
,P
on
ga
be
m
,A
r.)
(J
&C
AS
O
SC

16 June 2021 Sinhgad_CS_Dept 16


Features of 8085 microprocessor
1) 8 bit microprocessor (each character is represented by
8 bits or a byte).

e
un
,P
on
2) Manufactured with N-MOS (n-type Metal Oxide

ga
Semiconductor) technology implemented with 6200

be
m
transistors.

,A
r.)
(J
&C
3)It has 16-bit address lines - A0-A15 (to point the
AS

memory locations) and hence can point up to 2^16 =


O
SC

65535 bytes (64KB) memory locations.


The first 8 lines of address bus and 8 lines of data
bus are multiplexed AD0-AD7. Data bus is a group of
8Junelines
16 2021 D0-D7.Sinhgad_CS_Dept 17
Features of 8085 microprocessor
 Provides 5 level interrupts and supports external

e
interrupt request.

un
,P
 Requires a signal +5V power supply and operates at 3.2

on
ga
MHZ single phase clock with maximum clock

be
frequency 6 MHz and minimum clock frequency 500

m
,A
kHz.

r.)
(J
&C
AS

 Serial input/output port.


O
SC

 Enclosed with 40 pins DIP (Dual in line package).

16 June 2021 Sinhgad_CS_Dept 18


Address and Data Bus

e
un
 The address bus has 8 signal lines A8 – A15 which are

,P
on
unidirectional.

ga
 The other 8 address bits are multiplexed (time shared) with the 8

be
m
data bits.

,A
r.)
 So, the bits AD0 – AD7 are bi-directional and serve as A0 – A7

(J
and D0 – D7 at the same time.
&C
AS

 During the execution of the instruction, these lines carry the


O

address bits during the early part, then during the later part of
SC

the execution, they carry the 8 data bits.


 In order to separate the address from the data, we can use a
latch to save the value before the function of the bits changes.
16 June 2021 Sinhgad_CS_Dept 19
8085 Bus Structure
The 8-bit 8085 CPU (or MPU – Micro Processing Unit) communicates

e
un
with the other units using a 16-bit address bus, an 8-bit data bus and a

,P
control bus.

on
ga
be
m
,A
r.)
(J
&C
AS
O
SC

16 June 2021 Sinhgad_CS_Dept 20


The 8085 and Its Features

e
un
 The pins on the chip can be grouped into 6 groups:

,P
on
 Address Bus.

ga
Data Bus.

be

m
,A
 Control and Status Signals.

r.)
(J
 Power supply and frequency.
&C
AS

 Externally Initiated Signals.


O
SC

 Serial I/O ports.

16 June 2021 Sinhgad_CS_Dept 21


Intel 8085 Pin Configuration

e
un
,P
on
ga
be
m
,A
r.)
(J
&C
AS
O
SC

16 June 2021 Sinhgad_CS_Dept 22


e
un
,P
on
ga
be
m
,A
r.)
(J
&C
AS
O
SC

Signals and I/O Pins


16 June 2021 Sinhgad_CS_Dept 23
23
Control and Status Signals

e
un
 There are 4 main control and status signals. These are:

,P
ALE: Address Latch Enable. This signal is a pulse that become 1 when the

on

AD0 – AD7 lines have an address on them. It becomes 0 after that. This

ga
signal can be used to enable a latch to save the address bits from the AD

be
m
lines.

,A
 RD: Read. Active low.

r.)
(J
 WR: Write. Active low. &C
 IO/M: This signal specifies whether the operation is a memory operation
AS

(IO/M=0) or an I/O operation (IO/M=1).


O

 S1 and S0 : Status signals to specify the kind of operation being performed.


SC

Usually not used in small systems.

16 June 2021 Sinhgad_CS_Dept 24


Home Work
1)State the features of the 8085 microprocessor.

e
un
,P
on
ga
2)Draw the diagram of generic microprocessor.

be
m
,A
r.)
3) Why the bus in 8085 is known as multiplexed
(J
&C
bus? Explain it.
AS
O
SC

16 June 2021 Sinhgad_CS_Dept 25


8085 Bus Structure
The 8-bit 8085 CPU (or MPU – Micro Processing Unit) communicates

e
un
with the other units using a 16-bit address bus, an 8-bit data bus and a

,P
control bus.

on
ga
be
m
,A
r.)
(J
&C
AS
O
SC

16 June 2021 Sinhgad_CS_Dept 26


Intel 8085 Pin Configuration

e
un
,P
on
ga
be
m
,A
r.)
(J
&C
AS
O
SC

16 June 2021 Sinhgad_CS_Dept 27


e
un
,P
on
ga
be
m
,A
r.)
(J
&C
AS
O
SC

16 June 2021 Sinhgad_CS_Dept 28


e
un
,P
on
ga
be
m
,A
r.)
(J
&C
AS
O
SC

Signals and I/O Pins


16 June 2021 Sinhgad_CS_Dept 29
29
Control and Status Signals

e
un
 There are 4 main control and status signals. These are:

,P
ALE: Address Latch Enable. This signal is a pulse that become 1 when the

on

AD0 – AD7 lines have an address on them. It becomes 0 after that. This

ga
signal can be used to enable a latch to save the address bits from the AD

be
m
lines.

,A
 RD: Read. Active low.

r.)
(J
 WR: Write. Active low. &C
 IO/M: This signal specifies whether the operation is a memory operation
AS

(IO/M=0) or an I/O operation (IO/M=1).


O

 S1 and S0 : Status signals to specify the kind of operation being performed.


SC

Usually not used in small systems.

16 June 2021 Sinhgad_CS_Dept 30


Control and Status Signals.

e
un
,P
on
ga
be
m
,A
r.)
(J
&C
AS
O
SC

16 June 2021 Sinhgad_CS_Dept 31


Frequency Control Signals

e
un
 There are 3 important pins in the frequency control group.

,P
on
 X0 and X1 are the inputs from the crystal or clock

ga
generating circuit.

be
 The frequency is internally divided by 2.

m
,A
 So, to run the microprocessor at 3 MHz, a clock running

r.)
(J
at 6 MHz should be connected to the X0 and X1 pins.
&C
AS

 CLK (OUT): An output clock pin to drive the clock of the


O
SC

rest of the system.

16 June 2021 Sinhgad_CS_Dept 32


Interrupt &Externally Initiated Signals

e
un
,P
on
ga
be
m
,A
r.)
(J
&C
AS
O
SC

Sinhgad_CS_Dept 33
Interrupt signals

e
 An interrupt is a hardware-initiated subroutine CALL.

un
,P
 When interrupt pin is activated, an ISR will be called,

on
ga
interrupting the program that is currently executing.

be
m
,A
Pin Subroutine Location

r.)
(J
TRAP &C 0024
RST 5.5 002C
AS
O

RST 6.5 0034


SC

RST 7.5 003C


INTR *
Note: * the address of the ISR is determined by the external hardware.
Sinhgad_CS_Dept 34
RESET signal

e
un
,P
 Following are the two kind of RESET signals:

on
ga
 RESET IN: an active low input signal, Program Counter

be
(PC) will be set to 0 and thus MPU will reset.

m
,A
r.)
(J
 RESET OUT: an output reset signal to indicate that the
&C
μp was reset (i.e. RESET IN=0). It also used to reset
AS
O

external devices.
SC

16 June 2021 Sinhgad_CS_Dept 35


Direct Memory Access (DMA)
 DMA is an IO technique where external IO device requests

e
un
the use of the MPU buses.

,P
on
ga
be
 Allows external IO devices to gain high speed access to the

m
memory.

,A
r.)
 Example of IO devices that use DMA: disk memory system.

(J
&C
AS

 HOLD and HLDA are used for DMA.


O
SC

 If HOLD=1, 8085 will place it address, data and control pins


at their high-impedance.
 A DMA acknowledgement is signaled by HLDA=1.

Sinhgad_CS_Dept 36
A closer look at the 8085
Architecture

e
un
,P
on
ga
be
 Now, let’s look at some of its features with more

m
details.

,A
r.)
(J
&C
AS
O
SC

16 June 2021 Sinhgad_CS_Dept 37


Intel 8085 CPU Block Diagram

e
un
,P
on
ga
be
m
,A
r.)
(J
&C
AS
O
SC

16 June 2021 Sinhgad_CS_Dept 38


38
Homework

e
un
1)Draw the pin diagram of 8085 microprocessor.

,P
on
ga
be
2) State the interrupts available in 8085.

m
,A
r.)
(J
3) Explain the use of HOLD & HLDA pin.
&C
AS
O
SC

16 June 2021 Sinhgad_CS_Dept 39

You might also like