Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
JIIT-128, Noida
3
Architecture
1. External and
2. Internal
JIIT-128, Noida
3
4
Architecture
1. External
JIIT-128, Noida
5
Schematic representation
JIIT-128, Noida 5
The 8085 and Its Buses
6
Address Bus.
Data Bus.
Control and Status Signals.
Power supply and frequency.
Externally Initiated Signals.
Serial I/O ports.
JIIT-128, Noida
The Address and Data Bus Systems
7
JIIT-128, Noida
ALE used to demultiplex address/data bus
JIIT-128, Noida
8
The Control and Status Signals
9
JIIT-128, Noida
Frequency Control Signals
10
CLK (OUT): An output clock pin to drive the clock of the rest of
the system.
JIIT-128, Noida
Control and Status Signals.
JIIT-128, Noida
11
RESET signal
JIIT-128, Noida
12
Interrupt Signals
8085 μp has several interrupt signals as shown in the following
table.
13
JIIT-128, Noida
Internal architecture
14
JIIT-128, Noida
14
15
JIIT-128, Noida
The ALU
16
JIIT-128, Noida
Registers
17
JIIT-128, Noida
Flag Register
18
JIIT-128, Noida
The Flags register
19
There is also a flag register whose bits are affected by the arithmetic & logic
operations.
S-sign flag
The sign flag is set if bit D7 of the accumulator is set after an arithmetic or
logic operation.
Z-zero flag
Set if the result of the ALU operation is 0. Otherwise is reset. This flag is
affected by operations on the accumulator as well as other registers. (DCR B).
AC-Auxiliary Carry
This flag is set when a carry is generated from bit D3 and passed to D4 . This
flag is used only internally for BCD operations.
P-Parity flag
After an ALU operation, if the result has an even # of 1s, the p-flag is set.
Otherwise it is cleared. So, the flag can be used to indicate even parity.
CY-carry flag
This flag is set when a carry is generated from bit D7 after an unsigned
operation.
JIIT-128, Noida
20
8085
CS
A15-A8
ALE
A9- A0 1K Byte
AD7-AD0 Latch Memory
A7- A0 Chip
WR RD IO/M D7- D0
RD WR
JIIT-128, Noida
Generation of control signal
21
74LS32
74LS04
JIIT-128, Noida
Generation of control signal cont..
22
JIIT-128, Noida
Generation of control signal cont..
23
JIIT-128, Noida
Generation of control signal cont..
24
JIIT-128, Noida
Basic concept of Memory
25
interfacing
At the executing a program the MPU needs to access memory
quite frequently to read instruction codes and data stored in memory:
the interface ckt. Enables that access.
The memory has certain signals,
MPU able to read from and write into a given memory chip,
1. Able to select the chip
2. Identify the location or register
3. Enable the appropriate buffers.
JIIT-128, Noida
Steps to interface memory with the
26
MPU
Connect the required address bus to the address
lines of the memory chip.
Decode the remaining address lines of the address
bus to generate the chip select signal.
Generate control signal MEMR and MEMW by
combining the RD and WR signal with Io/M.
JIIT-128, Noida
Overall interface diagram
27
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
JIIT-128, Noida
28 JIIT-128, Noida