The 8085 Microprocessor Architecture. What 8085 meant for? 80 - year of invention 8 - 8 bit processor 5 - uses +5V for power.

Slides:



Advertisements
Similar presentations
8086 [2] Ahad. Internal! External? 8086 vs _bit Data Bus 20_bit Address 8_bit Data Bus 20_bit Address Only external bus of 8088 is.
Advertisements

Parul Polytechnic Institute
Dr. Rabie A. Ramadan Al-Azhar University Lecture 3
8086.  The 8086 is Intel’s first 16-bit microprocessor  The 8086 can run at different clock speeds  Standard 8086 – 5 MHz  –10 MHz 
The 8085 Microprocessor Architecture
Introduction to Microprocessors (CS 45) Session Microprocessor - 2.
Microprocessor and Microcontroller
The 8085 Microprocessor Architecture. Contents The 8085 and its Buses. The address and data bus ALU Flag Register Machine cycle Memory Interfacing The.
I/O Unit.
Processor System Architecture
Parul Polytechnic Institute Subject Code : Name Of Subject : Microprocessor and assembly language programming Name of Unit : Introduction to Microprossor.
BLOCK DIAGRAM OF INTEL 8085 GURSHARAN SINGH TATLA
1 TK2633TK Microprocessor Architecture DR MASRI AYOB.
GURSHARAN SINGH TATLA PIN DIAGRAM OF 8085 GURSHARAN SINGH TATLA
Khaled A. Al-Utaibi  8086 Pinout & Pin Functions  Minimum & Maximum Mode Operations  Microcomputer System Design  Minimum Mode.
MODES OF Details of Pins Pin 1 –Connected Ground Pins 2-16 –acts as both input/output. Outputs address at the first part of the cycle and outputs.
created by :Gaurav Shrivastava
Computer Architecture
MICROPROCESSOR INPUT/OUTPUT
8086/8088 Hardware Specifications Power supply:  +5V with tolerance of ±10%;  360mA. Input characteristics:  Logic 0 – 0.8V maximum, ±10μA maximum;
Microprocessor. Interrupts The processor has 5 interrupts. CALL instruction (3 byte instruction). The processor calls the subroutine, address of which.
8085. Microcomputer Major components of the computer - the processor, the control unit, one or more memory ICs, one or more I/O ICs, and the clock Major.
MICROPROCESSORS & ORGANIZATION OF 8085
80386DX functional Block Diagram PIN Description Register set Flags Physical address space Data types.
MICROPROCESSORS AND APPLICATIONS
EFLAG Register of The The only new flag bit is the AC alignment check, used to indicate that the microprocessor has accessed a word at an odd.
Introduction to Microprocessors - chapter3 1 Chapter 3 The 8085 Microprocessor Architecture.
Computer Architecture Lecture 4 by Engineer A. Lecturer Aymen Hasan AlAwady 17/11/2013 University of Kufa - Informatics Center for Research and Rehabilitation.
MACHINE CYCLE AND T-STATE
MICROPROCESSOR DETAILS 1 Updated April 2011 ©Paul R. Godin prgodin gmail.com.
1 Basic Processor Architecture. 2 Building Blocks of Processor Systems CPU.
Chapter Microcontroller
8085 Microprocessor: Architecture & Support Components.
8085 INTERNAL ARCHITECTURE.  Upon completing this topic, you should be able to: State all the register available in the 8085 microprocessor and explain.
Multiplex of Data and Address Lines in 8088 Address lines A0-A7 and Data lines D0-D7 are multiplexed in These lines are labelled as AD0-AD7. –By.
Gandhinagar Institute of Technology
8 085Microprocessor Temp Reg (8) Accumulator (A reg) Flag flip flops(8) Instruction Register (8) Arithmetic Logic Unit ALU Instruction Decoder and Machine.
Architecture of 8085 Nitin Mishra. Registers Microprocessor Instruction Cache Arithmetic & Logic Unit Control Unit Bus Interface Unit Data Cache Instruction.
AMITY UNIVERSITY RAJASTHAN Present By M.Sc Applied Chemistry.
The 8085A is a general-purpose microprocessor with low hardware overhead requirements. Within the 8085A are contained the functions of clock generation,
G.H.PATEL COLLEGE OF ENGG.& TECH. SUBJECT:-Micro processor & controller GUIDED BY :-Bhavesh R hindocha PREPARED BY:- PARTH TRIVEDI( ) AJAY KATHIRIYA( )
نظام المحاضرات الالكترونينظام المحاضرات الالكتروني The 8085 Microprocessor Architecture.
Unit Microprocessor.
8085 Microprocessor Architecture
Seminar On 8085 microprocessor
HISTORY OF MICROPROCESSORS
COURSE OUTCOMES OF Microprocessor and programming
BLOCK DIAGRAM OF INTEL 8085.
8085 INTRODUCTION The features of INTEL 8085 are :
Everybody.
The 8085 Microprocessor Architecture
The 8085 Microprocessor Architecture
Dr. Michael Nasief Lecture 2
8085 microprocessor.
8085 Microprocessor Architecture
The 8085 Microprocessor Architecture
An Introduction to Microprocessor Architecture using intel 8085 as a classic processor
UNIT ONE MICROPROCESSOR 8085
Architecture of Microprocessor (Intel 8085) Unit-I
Number Representations and Basic Processor Architecture
Architecture & Support Components
8085 Microprocessor Architecture
X1 & X2 These are also called Crystal Input Pins.
Md. Mojahidul Islam Lecturer Dept. of Computer Science & Engineering
Md. Mojahidul Islam Lecturer Dept. of Computer Science & Engineering
The 8085 Microprocessor Architecture
8085 Microprocessor Architecture
AGENDA Architecture Microprocessor Communication and Bus Timings
AGENDA Architecture Microprocessor Communication and Bus Timings
Computer Operation 6/22/2019.
Presentation transcript:

The 8085 Microprocessor Architecture

What 8085 meant for? 80 - year of invention bit processor 5 - uses +5V for power

3 The 8-bit 8085 CPU (or MPU – Micro Processing Unit) communicates with the other units using a 16-bit address bus, an 8-bit data bus and a control bus.

The 8085 and Its Busses The 8085 is an 8-bit general purpose microprocessor 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. Control and Status Signals. Power supply and frequency. Externally Initiated Signals. Serial I/O ports.

5 Processor System Architecture The typical processor system consists of:  CPU (central processing unit)  ALU (arithmetic-logic unit)  Control Logic  Registers, etc…  Memory  Input / Output interfaces Interconnections between these units:  Address Bus  Data Bus  Control Bus

6 Bus and CPU Bus: A shared group of wires used for communicating signals among devices address bus: the device and the location within the device that is being accessed data bus: the data value being communicated control bus: describes the action on the address and data buses CPU: Core of the processor, where instructions are executed High-level language: a = b + c Assembly language: add r1 r2 r3 Machine language:

Microprocessor Architecture Now we will examine these components more closely by using the Intel 8085 microprocessor architecture.

Functional Block Diagram

ALU AND SPECIAL PURPOSE REGISTERS ALU which performs arithmetic and logic operations like Increment Decrement Compare Add, subtract, ETC.,

The ALU In addition to the arithmetic & logic circuits, the ALU includes the accumulator, which is part of every arithmetic & logic operation. Also, the ALU includes a temporary register used for holding data temporarily during the execution of the operation. This temporary register is not accessible by the programmer.

12 The 8085: CPU Internal Structure Accumulator  Single 8-bit register that is part of the ALU and it holds the first operand for and ALU operation.  Used for arithmetic / logic operations – the result is always stored in the accumulator.

The Flags register There is also the flags 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. (Section 10.5 describes BCD addition). P-Parity flag  After an ALU operation if the result has an even # of 1’s the p-flag is set. Otherwise it is cleared. So, the flag can be used to indicate even parity. CY-carry flag  This is set when overflow occurs in an operation. S D7 Z D6D5 AC D4D3 P D2D1 C D0

General purpose registers Six general purpose 8-bit registers: B, C, D, E, H, L They can also be combined as register pairs to Perform 16-bit operations: BC, DE, HL Registers are programmable (data load, move, etc.) When we use a single byte registers the codes used to represents them are as follows Name of the register codeName of the register code BCDBCD EHLEHL

similarly the codes for register in pairs are as follows Name of the register code BC DE HL

Power supply and ground: Signals which aids in supplying power and generating frequency are associated with this type. Pins like Vcc and Vss are classified under this type.

Address signals: Signals associated with the lower order address bus and time multiplexed higher order address bus comes under this type of signals. Data Signals: Signals associated with data bus comes under this type. Control and Status Signals: Signals which are associated with timing and control unit such HOLD, RW’, WR’ etc. comes under this type of signals.

Interrupt Signals: We know that signals like TRAP, RST 5.5 etc. are interrupt signals. Such signals come under this category.interrupt signals Serial I/O signals: These signals are used for giving serial input and output data. Signals like SID, SOD come under this category. Acknowledgement Signals: Signals like INTA’, HLDA acts as acknowledgement signal for 8085 microprocessor.

ALE: Address Latch Enable: ALE helps in demultiplexing the lower order address and data bus. This signal goes high during the first clock cycle and enables the lower order address bits. The lower order address bus is added to memory or any external latch.

IO/M’: Consider we have an address to be processed. But how do the processors know whether the address is for memory or I/O functions? For this purpose a status signal called IO/M’ is used. This distinguishes whether the address is for memory or IO. When this pin goes high, the address is for an I/O device. While the pin goes low, the address is assigned for the memory. S0-S1: S0 and S1 are status signals which provides different status and functions depending on their status.

RD’: This is an active low signal. That is, an operation is performed when the signal goes low. This signal is used to control READ operation of the microprocessor. When this pin goes low the microprocessor reads the data from memory or I/O device. WR’: WR’ is also an active low signal which controls the write operations of the microprocessor. When this pin goes low, the data is written to the memory or I/O device.

READY: READY is used by the microprocessor to check whether a peripheral is ready to accept or transfer data. A peripheral may be a LCD display or analog to digital converter or any other. These peripherals are connected to microprocessor using the READY pin. If READY is high then the periphery is ready for data transfer. If not the microprocessor waits until READY goes high. HOLD: This indicates if any other device is requesting the use of address and data bus. Consider two peripheral devices. One is the LCD and the other Analog to Digital converter. Suppose if analog to digital converter is using the address and data bus and if LCD requests the use of address and data bus by giving HOLD signal, then the microprocessor transfers the control to the LCD as soon as the current cycle is over. After the LCD process is over, the control is transferred back to analog and digital converter. HLDA: HLDA is the acknowledgment signal for HOLD. It indicates whether the HOLD signal is received or not. After the execution of HOLD request, HLDA goes low.

INTR: These are the signals which stops the operation of microprocessor and divert a control to more important tasks. INTA’: Whenever the microprocessor receives interrupt signal. It has to be acknowledged. This acknowledgement is done by INTA’. So whenever the interrupt is received INTA’ goes high.

RST 5.5, 6.5, 7.5: These are nothing but the restart interrupts. They insert an internal restart function automatically. All the above mentioned interrupts are maskable interrupts. That is, they can be enabled or disabled using programs.

TRAP: Among the interrupts of 8085 microprocessor, TRAP is the only non-maskable interrupt. It cannot be enabled or disabled using a program. It has the highest priority among the interrupts. PRIORITY ORDER (From highest to lowest) TRAP RST 7.5 RST 6.5 RST 5.5

RESET IN’: This pin resets the program counter to 0 and resets interrupt enable and HLDA flip-flops. The CPU is held in reset condition until this pin is high. However the flags and registers won’t get affected except for instruction register. RESET OUT: This pin indicates that the CPU has been reset by RESET IN’. X1 X2: These are the terminals which are connected to external oscillator to produce the necessary and suitable clock operation.

CLK: Sometimes it is necessary for generating clock outputs from microprocessors so that they can be used for other peripherals or other digital IC’s. This is provided by CLK pin. Its frequency is always same as the frequency at which the microprocessor operates. SID: This pin provides serial input data. The serial data on this pin is loaded into the seventh bit of the accumulator when RIM instruction is executed. RIM stands for READ INTERRUPT MASK, which checks whether the interrupt is masked or not. SOD: This pin provides the serial output data. The serial data on this pin delivers its output to the seventh bit of the accumulator when SIM instruction is executed.

The Control and Status Signals There are 4 main control and status signals. These are: ALE: Address Latch Enable. This signal is a pulse that become 1 when the AD0 – AD7 lines have an address on them. It becomes 0 after that. This signal can be used to enable a latch to save the address bits from the AD lines. RD: Read. Active low. WR: Write. Active low. IO/M: This signal specifies whether the operation is a memory operation (IO/M=0) or an I/O operation (IO/M=1). S1 and S0 : Status signals to specify the kind of operation being performed.Usually un-used in small systems.

The Address and Data Busses 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.

Frequency Control Signals There are 3 important pins in the frequency control group. X0 and X1 are the inputs from the crystal or clock generating circuit. The frequency is internally divided by 2.  So, to run the microprocessor at 3 MHz, a clock running at 6 MHz should be connected to the X0 and X1 pins. CLK (OUT): An output clock pin to drive the clock of the rest of the system.