8085 Microprocessor
8085 Microprocessor
MICROPROCESSOR
Features
• 8 bit microprocessor(8085 microprocessor can read or
write or perform arithmetic and logical operations on 8-bit
data at time)
• It has 8 data lines and 16 address lines hence capacity is
216 = 64 kB of memory
• Cock frequency is 3 MHz
• It requires +5V power supply.
• It is a single chip NMOS device implemented with 6200
transistors.
• It provides 74 instructions with five addressing modes.
• It provides 5 hardware interrupt and 8 software interrupts.
Pin Configuration
• 40 pins classified into
6 groups:
1. Data bus
2. Address bus
3. Control & status lines
4. Externally generated
5. Serial interface
6. Power supply & clock
Pin Configuration cont…
1) Address Bus (A15-A8 and AD7-AD0):
The microprocessor 8085 has 16 bit address lines from
A15-A8 and AD7-AD0. These lines are used to transfer 16
bit address of memory as well as 8-bit address of I/O ports.
2) Data Bus:
The lower 8 lines (AD7-AD0) are often called as
multiplexed data lines.
CONTROL LINES
• RD : Read: This is active low signal which indicates that
the selected I/O or memory device is to be read and also
is available on the data bus.
• WR : Write: This is active low signal which indicates that
the data on data bus are to be written into a selected
memory location.
• IO/ M : (Input / Output / Memory): This is used to select
either Input / Output devices or memory operation. When
it is high it indicates an I/O operation and when it is low, it
indicates a memory operation.
STATUS LINES
• Status Pins (S1, S0): The microprocessor 8085 has two
status pins as S1, S0 which is used to indicate the status
of microprocessor or operation which is performed by
microprocessor.
SPECIAL SIGNAL
• ALE (Address Latch Enable): The ALE signal is used to
enable or disable the external peripherals (LATCH).
Chip Selection
A15- A10 Circuit
8085
CS
A15-A8
ALE
A9- A0 1K Byte
AD7-AD0 Latch Memory
A7- A0 Chip
WR RD IO/M D7- D0
RD WR
MPU Communication and Bus Timing
Program
MVI B, 30H
MVI C, 40H
MOV A, B
CMP C
JZ EQU
JC GRT
OUT PORT1
HLT
EQU: MVI A, 01H
OUT PORT1
HLT
GRT: MOV A, C
OUT PORT1
HLT
Code conversion
• ASCII to decimal
• Decimal to ACSII
• BCD to HEXA
• Hexa to BCD
• Hexa to binary