Professional Documents
Culture Documents
Intro To 8085
Intro To 8085
10. 8 bit I/O address. Hence it can access 28=256 Input ports & 256 Output
ports.
Fig.1
To study the pin diagram we group the signals as shown in Fig.2. They
are as follows
1. Address Bus
2. Data Bus
3. Status Signals
4. Control Signals
5. Power Supply
6. Clock Signals
7. Interrupt Signals
8. Serial Input Output Signals
9. DMA Request Signals
10. Reset Signals
Fig.2
Symbol Name and Function
A8-A15 Address Bus :-
• These are output, tristate signals used as higher
order 8 bits of 16 bit address.
➢ They are address and data. The lower order 8 bits of 16 bit address is multiplexed or
time shared with data bus.
➢ In an operation cycle during earlier part it is used as lower order address and in later
part it is used as data bus.
➢ But for peripheral devices we want separate address & data signals so these signals
are demultiplexed by using latch and an ALE signal. These lines are tristated by 8085
for conditions same as A8-A15.
➢ The multiplexed bus has advantages and disadvantages as well. The advantage is the
address and data lines are shared so less pins are required. But the disadvantage is it
requires separation of address and data lines. i.e. demultiplexing D0-D7 and A0-A7.
➢ When we compare multiplex address/data bus with complete parallel data/address bus
the later will require less time to read/write data. This less time required will increase
the speed of operation.
Symbol Name and Function
ALE Address Latch Enable:-
➢ When a pulse occurs on ALE it indicates that the contents of AD0-AD7 are
address.
➢ It is a positive going pulse of half clock pulse width generated when a new
operation or cycle is started by a microprocessor i.e during starting of T1
clock pulse of each operation or cycle.
➢ It is basically used to demultiplex address and data i.e. separate A0-A7 and
D0-D7. To achieve this, a latch is connected to AD0-AD7 and is controlled by
ALE signal.
Symbol Name and Function
ഥ
𝐈𝐎/𝐌 Input Output/ Memory:-
ഥ
➢ When 𝐈𝐎/𝐌=0, the microprocessor is performing a memory related
operation and when 𝐈𝐎/𝐌=1,ഥ the microprocessor is performing an
I/O device related operation.
➢ To implement this 𝐈𝐎/𝐌 signal is combined with read & write control
signals and two sets of signals are generated one for memory &
other for I/O device.
Symbol Name and Function
S0 and S1 Status Signals S0 and S1:-
These are output status signals used to give status of what operation microprocessor is
performing (They tell the current operation which is in progress in 8085).
➢ These are generally not used in small systems but can be used to generate advanced
control signals for large systems.
➢ The S0 and S1 lines specify four different conditions of 8085 machine cycles.
S0 S1 Cycle
0 0 Halt
0 1 Read
1 0 Write
1 1 Opcode Fetch
➢ When S0 and S1 is combined with 𝐈𝐎/𝐌 , we get machine cycle status of all the machine
cycles executed by 8085 as shown in table below
8085 Machine Cycle Status & Control Signals
Machine Cycle Status
Machine Cycle Status
𝐈𝐎/𝐌 S1 S0 Status Control Signal
0 1 1 Opcode fetch RD = 0
0 1 0 Memory read RD = 0
0 0 1 Memory write WR = 0
1 1 0 I/O read RD = 0
1 0 1 I/O write WR = 0
1 1 1 Interrupt INTA = 0
acknowledge
Z 0 0 Halt RD,WR = 0
Z X X Hold & INTA = 0
Z X X Reset
➢ To write data to device microprocessor selects a device and transfers data on data lines
& then generates signal WR.
➢ The signal WR indicates that the contents of data bus are to be written in the selected
device.
➢ If READY is high during a read or write cycle, it indicates that the memory or peripheral is
ready for data transfer.
➢ If READY is low, it indicates that it is not ready & microprocessor will wait until ready goes
high.
➢ The signal READY is used to synchronize slower peripherals to the faster microprocessor.
➢ This is an active high level & edge triggered, non maskable, highest priority interrupt.
TRAP
➢ When TRAP line is active microprocessor inserts internal restart automatically at address
0024.
➢ The net effect of TRAP is it transfers program control at address 0024 i.e. CALL 0024
➢ The priorities of these are TRAP, RST 7.5, RST 6.5, RST 5.5.
➢ When RST 7.5, RST 6.5 RST 5.5 is active microprocessor inserts internal restart
automatically at address 003C, 0034, 002C respectively.
➢
➢ The net effect is it transfers program control at address specified i.e. CALL address
specified above.
Symbol Name and Function
INTR and 𝐈𝐍𝐓𝐀 Interrupt Request:-
➢ To implement this the microprocessor will tristate its address, data &
ഥ & stop using them.
control signals (RD , WR & IO/M)
➢ The other controller will use buses & upon completions of work will
remove HOLD signal. Because of this microprocessor will also make
HLDA low. The microprocessor takes control of buses half clock cycle
after HLDA goes low.
Symbol Name and Function
𝐑𝐄𝐒𝐄𝐓 𝐈𝐍 ➢ This is an active low, input reset signal used to clear program
counter i.e. 0000 and makes address, data & control lines
tristated.