Presentation is loading. Please wait.

Presentation is loading. Please wait.

Computer Architecture

Similar presentations


Presentation on theme: "Computer Architecture"— Presentation transcript:

1 Computer Architecture
Lecture3 by Engineering A. Lecturer Aymen Hasan AlAwady 04/11/2013 University of Kufa - Informatics Center for Research and Rehabilitation 1

2

3 MICROPROCESSOR 8085 Ramesh S. Goankar, “Microprocessor Architecture, Programming and Applications with 8085”, 5thEdition, Prentice Hall Please your name and faculty name to to create an list.

4 8085 Microprocessor Architecture & Memory Interfacing
Objectives: Recognize the functions of various pins of the 8085 microprocessor. Explain the bus timings in fetching an instruction from memory. Explain how to demultiplex the AD7-AD0 bus a latch. Draw a logic schematic to generate four control signals, using the 8085 IO/M, RD, and WR signals: (1 MEMR), (2) MEMW, (3) IOR, and (4) IOW. Explain the functions of these control signals.

5 8085 Microprocessor Architecture & Memory Interfacing
Objectives: List the various internal units that make up the 8085 arch., and explain their functions. Draw the block diagram of an 8085-based microcomputer. List the steps performed by 8085 microprocessor , and identify the content of buses when an instruction is executed. Analyze a memory interfacing circuit . List additional signals found in such specially designed devices.

6 1. Microprocessors Differences between: Microcomputer –a computer with a microprocessor as its CPU. Includes memory, I/O etc. Microprocessor –silicon chip which includes ALU, register circuits & control circuits Microcontroller –silicon chip which includes microprocessor, memory & I/O in a single package.

7 1.2 Microprocessors What is a Microprocessor? The word comes from the combination micro and processor. Processor means a device that processes numbers, specifically binary numbers, 0’s and 1’s. To process means to manipulate and it means to perform certain operations on the numbers that depend on the microprocessor’s design.

8 1.3 Microprocessors Micro history.
In the late 1960’s, processors were built using discrete elements. These devices performed the required operation, but were too large and too slow. In the early 1970’s the microchip was invented. All of the components that made up the processor were now placed on a single piece of silicon. The size became several thousand times smaller and the speed became several hundred times faster. The “Micro”Processor was born. Was there ever a “mini”-processor? No. It went directly from discrete elements to a single chip. However, comparing today’s microprocessors to the ones built in the early 1970’s you find an extreme increase in the amount of integration. So, What is a microprocessor?

9 8085Microprocessor

10 Microprocessor Unit The microprocessor unit (MPU) is a device or group of devices (as a unit) that can communicate with peripherals , provide timing signals, direct data flow, and perform computing task as specified by instruction in memory. MPU has an address bus, data bus and control signals and would require only a power supply and crystal to be functional.

11 1.4.1 8085Microprocessor Unit 8085 limitations:
The low order of address bus is multiplexed (time-shared) with data bus. So, the buses need to demultiplexed. AD0-AD7 To interface memory and I/O in 8085, some control signals need to be generated. (Intel has some memory and I/O devices that don’t require that).

12 1.4.1 8085 Microprocessor Architecture
8-bit general purpose Capable of addressing 64 k of memory Has 40 pins Requires +5 v power supply Can operate with 3 MHz clock 8085 upward compatible

13

14 Signals and I/O Pins

15 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.

16 1.4.1 8085 Microprocessor Architecture
System Bus –wires connecting memory & I/O to microprocessor Address Bus (A15 – A8) Unidirectional Identifying peripheral or memory location Address & Data Bus (AD7-AD0) Bidirectional Transferring data and Identifying peripheral or memory location (address) Serve a dual purpose Control Bus Synchronization signals Timing signals Control signal

17 The Address and Data Bus Systems
The address bus has 8 signal lines A8 – A15 which are unidirectional. The other 8 address bits are multiplexed (time shared) with the 8 data bits. So, the bits AD0 – AD7 are bi-directional and serve as A0 – A7 and D0 – D7 at the same time. During the execution of the instruction, these lines carry 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 latch to save the value before the function of the bits changes.

18 ALE used to demultiplex address/data bus
18

19 1.5 Control & Status Signals
1. This group of signals include two control signals (RD and WR). (Read or write the data on data bus for the memory or I/O). 2. Three status signals (IO/M, S1 and S0), to identify the nature of the operation. When IO/M is high it indicates IO operation and when it is low it indicates memory operation. It is combined with RD and WR S1 and S0 is similar to IO/M to generate various operation in small systems 3. Special signal (ALE) to indicate the begging of the operation. Use latch separate A0-A7 from AD0-AD7 when it is high at the begin of machine cycle.

20 1.6 8085 Machine cycle status and control
three-state, tri-state, or 3-state logic allows an output port to assume a high impedance state in addition to the 0 and 1 logic levels, effectively removing the output from the circuit. This allows multiple circuits to share the same output line or lines (such as a bus which cannot listen to more than one device at a time). Three-state outputs are implemented in many registers, bus drivers, and flip-flops.


Download ppt "Computer Architecture"

Similar presentations


Ads by Google