Professional Documents
Culture Documents
A microprocessor is a multipurpose,
INTRODUCTION TO programmable, clock-driven,
8085 register-based electronic device that
reads binary instructions from a
storage device called memory,
accepts binary data as input and
processes data according to those
-NAVEEN BHAT
instructions, and provides results as
output
A Programmable Machine
Memory
Microprocessor
I/O
1
12/19/2018
Introduction to 8085
The advanced versions Address Bus
consume 20% less power
supply.
Memory
Real world
Input
The clock frequencies of 8085 Output
8085 are: MPU
◦ 8085 A 3 MHz
◦ 8085 AH3 MHz Data Bus
Control Bus
Pin Diagram of 8085
The control bus is comprised of various
single lines that carry synchronization signals.
12
2
12/19/2018
13 14
15 16
o Stores the bit at the 8th o Takes the bit from the 8th
position (MSB) of the position (MSB) of the
Accumulator. Accumulator.
17 18
3
12/19/2018
• After execution of the new program, microprocessor goes It goes to the previous program by reading the top
back to the previous program. value of stack.
19 20
RST 6.5
Edge Triggered and Level Triggered
RST 5.5
Priority Based Interrupts
INTR
21 22
• RST 5.5
• INTR
23 24
4
12/19/2018
Non--Maskable Interrupts
Non Vectored Interrupts
The interrupts which are always in The interrupts which have fixed memory
enabled mode are called non-maskable location for transfer of control from
interrupts. normal execution.
These interrupts can never be disabled Each vectored interrupt points to the
by any software instruction. particular location in memory.
25 26
27 28
Non--Vectored Interrupts
Non Edge Triggered Interrupts
The interrupts which don't have fixed The interrupts which are triggered at
memory location for transfer of control leading or trailing edge are called edge
from normal execution. triggered interrupts.
The address of the memory location is RST 7.5 is an edge triggered interrupt.
sent along with the interrupt.
It is triggered during the leading
INTR is a non-vectored interrupt. (positive) edge.
29 30
5
12/19/2018
33 34
6
12/19/2018
• It is used to transfer data between During 1st clock cycle, these pins
act as lower half of address.
microprocessor and memory.
• Data bus is of 8-bit. In remaining clock cycles, these
pins act as data bus.
7
12/19/2018
A8 – A15 ALE
Pin 21-
21-28 (Unidirectional) Pin 30 (Output)
These pins carry the It is used to enable Address
higher order of address Latch.
bus.
It indicates whether bus
functions as address bus or data
The address is sent from bus.
microprocessor to
memory. If ALE = 1 then
◦ Bus functions as address bus.
These 8 pins are switched
to high impedance state If ALE = 0 then
during HOLD and RESET ◦ Bus functions as data bus.
mode.
Gursharan Singh Tatla Gursharan Singh Tatla
professorgstatla@gmail.com www.eazynotes.com 43 professorgstatla@gmail.com www.eazynotes.com 44
S0 and S1 IO/M
Pin 29 (Output) and Pin 33 (Output) Pin 34 (Output)
S0 and S1 are called Status This pin tells whether I/O
Pins. or memory operation is
being performed.
8
12/19/2018
RD WR
Pin 32 (Output) Pin 31 (Output)
RD stands for Read. WR stands for Write.
It is an active low signal. It is also active low signal.
It is a control signal used It is a control signal used
for Read operation either for Write operation either
from memory or from into memory or into
Input device. output device.
A low signal indicates that A low signal indicates that
data on the data bus must data on the data bus must
be placed either from be written into selected
selected memory location memory location or into
or from input device. output device.
Gursharan Singh Tatla Gursharan Singh Tatla
professorgstatla@gmail.com www.eazynotes.com 51 professorgstatla@gmail.com www.eazynotes.com 52
READY HOLD
Pin 35 (Input) Pin 38 (Input)
This pin is used to HOLD pin is used to request
synchronize slower the microprocessor for DMA
transfer.
peripheral devices with
fast microprocessor. A high signal on this pin is a
request to microprocessor
A low value causes the to relinquish the hold on
microprocessor to buses.
enter into wait state.
This request is sent by DMA
controller.
The microprocessor
remains in wait state Intel 8257 and Intel 8237 are
until the input at this pin two DMA controllers.
goes high.
Gursharan Singh Tatla Gursharan Singh Tatla
professorgstatla@gmail.com www.eazynotes.com 53 professorgstatla@gmail.com www.eazynotes.com 54
9
12/19/2018
HLDA HLDA
Pin 39 (Output) Pin 39 (Output)
HLDA stands for Hold The control of these
Acknowledge. buses goes to DMA
The microprocessor uses Controller.
this pin to acknowledge the
receipt of HOLD signal. Control remains at
DMA Controller until
When HLDA signal goes high, HOLD is held high.
address bus, data bus, RD,
WR, IO/M pins are tri- When HOLD goes low,
stated.
HLDA also goes low
This means they are cut-off and the microprocessor
from external environment. takes control of the
buses.
Gursharan Singh Tatla Gursharan Singh Tatla
professorgstatla@gmail.com www.eazynotes.com 55 professorgstatla@gmail.com www.eazynotes.com 56
10
12/19/2018
11
12/19/2018
Address/data buffer:
The address bus will be having 16 address
lines[A15-A0] .In which A7-A0 are called as
lower addressing lines and these are
multiplexed with data lines[D7-D0] to form
multiplexed address /data buffer .The
address/data buffer is the bidirectional bus.
Timing and Control Unit:
The timing and control unit accepts information
from the instruction decoder and
generates different control signal. This unit
synchronizes all the microprocessor operation
and generates control and status signal
necessary for communication between the
microprocessor and peripherals.
12