Beruflich Dokumente
Kultur Dokumente
Microprocessor Architecture
using intel 8085 as a classic
processor
http://educate.intel.com/en/TheJourneyInside/ExploreTheCurriculum/EC_Microprocessors/
Intel 8085
Intel 8085
Pin
Configuration
3
Signals and I/O Pins
4
The 8085 and Its Buses
The 8085 is an 8-bit general purpose microprocessor that can
address 64K Byte of memory.
It has 40 pins and uses +5V for power. It can run at a maximum
frequency of 3 MHz.
The pins on the chip can be grouped into 6 groups:
Address Bus.
Data Bus.
CLK (OUT): An output clock pin to drive the clock of the rest
of the system.
The Address and Data Bus Systems
the address bits during the early part, then during the late
parts of the execution, they carry the 8 data bits.
In order to separate the address from the data, we can use a
10
Interrupt Signals
8085 μp has several interrupt signals as shown in the
following table.
11
RESET signal
Following are the two kind of RESET
signals:
RESET IN: an active low input signal, Program
Counter (PC) will be set to 0 and thus MPU will
reset.
RESET OUT: an output reset signal to indicate
that the μp was reset (i.e. RESET IN=0). It
also used to reset external devices.
12
SID and SOD signals
13
ALE used to demultiplex address/data bus
15
Now, Let us see how the different units
and bus systems stay connected:
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
Hardware Model of 8085
Programming Model of 8085
Flags
•The ALU includes five flip-flops that are set or reset according to the
result of an operation.
•The microprocessor uses the flags for testing the data conditions.
•They are Zero (Z), Carry (CY), Sign (S), Parity (P), and Auxiliary Carry (AC)
flags. The most commonly used flags are Sign, Zero, and Carry.
4/12/2018 19
1. Sign Flag (S)
• After execution of any arithmetic and logical operation, if
D7 of the result is 1, the sign flag is set. Otherwise it is reset.
• D7 is reserved for indicating the sign; the remaining is
the magnitude of number.
• If D7 is 1, the number will be viewed as negative number.
If D7 is 0, the number will be viewed as positive number.
4/12/2018 20
2. Zero Flag (z)
4/12/2018 21
4. Parity Flag (P)
4/12/2018 22
4/12/2018 23