Professional Documents
Culture Documents
Maninder Kaur
Introduction to 8085
PIN DIAGRAM OF 8085 It was introduced in 1977.
It is 8-bit microprocessor.
Its actual name is 8085 A.
Gursharan Singh It is single NMOS device.
mailme@gursharansingh.in It contains 6200 transistors
approx.
Maninder Kaur Its dimensions are
mailme@maninderkaur.in 164 mm x 222 mm.
www.eazynotes.com It is having 40 pins Dual-
Inline-Package (DIP).
Gursharan Singh
Maninder Kaur www.eazynotes.com 12-Dec-11 2
X1 & X2
Pin Diagram of 8085 Pin 1 and Pin 2 (Input)
These are also called
Crystal Input Pins.
To generate clock
signals internally, 8085
requires external inputs
from X1 and X2.
Gursharan Singh Gursharan Singh
Maninder Kaur www.eazynotes.com 12-Dec-11 5 Maninder Kaur www.eazynotes.com 12-Dec-11 6
www.eazynotes.com 1
Gursharan Singh 12-Dec-11
Maninder Kaur
o Takes the bit from the 8th • It starts executing new program indicated by the interrupt
position (MSB) of the signal.
Accumulator.
• Interrupt signals are generated by external peripheral devices.
o SIM (Set Interrupt Mask)
instruction is used to • After execution of the new program, microprocessor goes
back to the previous program.
transfer the bit.
Gursharan Singh Gursharan Singh
Maninder Kaur www.eazynotes.com 12-Dec-11 11 Maninder Kaur www.eazynotes.com 12-Dec-11 12
www.eazynotes.com 2
Gursharan Singh 12-Dec-11
Maninder Kaur
www.eazynotes.com 3
Gursharan Singh 12-Dec-11
Maninder Kaur
• TRAP
Gursharan Singh Gursharan Singh
Maninder Kaur www.eazynotes.com 12-Dec-11 19 Maninder Kaur www.eazynotes.com 12-Dec-11 20
www.eazynotes.com 4
Gursharan Singh 12-Dec-11
Maninder Kaur
www.eazynotes.com 5
Gursharan Singh 12-Dec-11
Maninder Kaur
INTR INTA
Pin 10 (Input) Pin 11 (Output)
It is a maskable interrupt. It stands for interrupt
It has the lowest priority. acknowledge.
It is also level triggered.
It is an out going signal.
It is a general purpose
interrupt. It is an active low signal.
By general purpose we
mean that it can be used to Low output on this pin
vector microprocessor to indicates that
any specific subroutine
having any address. microprocessor has
acknowledged the INTR
request.
Gursharan Singh Gursharan Singh
Maninder Kaur www.eazynotes.com 12-Dec-11 31 Maninder Kaur www.eazynotes.com 12-Dec-11 32
• The address bus is used to send address to • It is used to transfer data between
memory. microprocessor and memory.
• It selects one of the many locations in • Data bus is of 8-bit.
memory.
• Its size is 16-bit.
www.eazynotes.com 6
Gursharan Singh 12-Dec-11
Maninder Kaur
ALE S0 and S1
Pin 30 (Output) Pin 29 (Output) and Pin 33 (Output)
It is used to enable Address S0 and S1 are called Status
Latch.
Pins.
IO/M IO/M
Pin 34 (Output) Pin 34 (Output)
This pin tells whether I/O The operation being performed is indicated by
or memory operation is S0 and S1.
being performed.
If S0 = 0 and S1 = 1 then
If IO/M = 1 then ◦ It indicates WRITE operation.
◦ I/O operation is being
performed.
If IO/M = 0 then
◦ It indicates Memory operation.
If IO/M = 0 then
◦ Memory operation is being
performed. Combining these two we get Memory Write
Operation.
Gursharan Singh Gursharan Singh
Maninder Kaur www.eazynotes.com 12-Dec-11 39 Maninder Kaur www.eazynotes.com 12-Dec-11 40
www.eazynotes.com 7
Gursharan Singh 12-Dec-11
Maninder Kaur
WR READY
Pin 31 (Output) Pin 35 (Input)
WR stands for Write. This pin is used to
synchronize slower
It is also active low signal. peripheral devices with
It is a control signal used fast microprocessor.
for Write operation either
into memory or into A low value causes the
output device. microprocessor to
enter into wait state.
A low signal indicates that
data on the data bus must The microprocessor
be written into selected remains in wait state
memory location or into until the input at this pin
output device. goes high.
Gursharan Singh Gursharan Singh
Maninder Kaur www.eazynotes.com 12-Dec-11 43 Maninder Kaur www.eazynotes.com 12-Dec-11 44
HOLD HLDA
Pin 38 (Input) Pin 39 (Output)
HOLD pin is used to request HLDA stands for Hold
the microprocessor for DMA Acknowledge.
transfer.
The microprocessor uses
A high signal on this pin is a this pin to acknowledge the
request to microprocessor receipt of HOLD signal.
to relinquish the hold on
buses. When HLDA signal goes high,
address bus, data bus, RD,
This request is sent by DMA WR, IO/M pins are tri-
controller. stated.
Intel 8257 and Intel 8237 are This means they are cut-off
two DMA controllers. from external environment.
www.eazynotes.com 8
Gursharan Singh 12-Dec-11
Maninder Kaur
Gursharan Singh
Maninder Kaur www.eazynotes.com 12-Dec-11 49
www.eazynotes.com 9