8085 microprocessor.

Slides:



Advertisements
Similar presentations
Parul Polytechnic Institute
Advertisements

Dr. Rabie A. Ramadan Al-Azhar University Lecture 3
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.
Processor System Architecture
BLOCK DIAGRAM OF INTEL 8085 GURSHARAN SINGH TATLA
1 TK2633TK Microprocessor Architecture DR MASRI AYOB.
INSTRUCTION SET OF MICROPROCESSOR 8085
created by :Gaurav Shrivastava
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 AND APPLICATIONS
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.
The 8085 Microprocessor Architecture. What 8085 meant for? 80 - year of invention bit processor 5 - uses +5V for power.
1 Basic Processor Architecture. 2 Building Blocks of Processor Systems CPU.
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.
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,
نظام المحاضرات الالكترونينظام المحاضرات الالكتروني The 8085 Microprocessor Architecture.
Introduction to 8085 Microprocessor
Unit Microprocessor.
8085 Microprocessor Architecture
Seminar On 8085 microprocessor
Gursharan Singh Tatla INSTRUCTION SET OF 8085 Gursharan Singh Tatla Gursharan Singh Tatla
Basic Computer Organization and Design
COURSE OUTCOMES OF Microprocessor and programming
BLOCK DIAGRAM OF INTEL 8085.
Everybody.
The 8085 Microprocessor Architecture
Instruction format Instruction is a command to microprocessor to perform a given task on specified data. Each instruction has two parts: One is the task.
Gunjeet Kaur Dronacharya Group of institutions
Assembly Language Programming of 8085
Microprocessor T. Y. B. Sc..
Detailed Review of the 8085 Instruction Set.
UNIT – Microcontroller.
Introduction to microprocessor (Continued) Unit 1 Lecture 2
CPU Sequencing 6/30/2018.
The 8085 Microprocessor Architecture
Introduction of microprocessor
Introduction to 8085 Instructions
TAO1221 COMPUTER ARCHITECTURE AND ORGANIZATION LAB 3 & 4 Part 1
Dr. Michael Nasief Lecture 2
collected by C.Gokul AP/EEE,VCET
8085 Microprocessor Architecture
The 8085 Microprocessor Architecture
..
An Introduction to Microprocessor Architecture using intel 8085 as a classic processor
Architecture of Microprocessor (Intel 8085) Unit-I
Interfacing Memory Interfacing.
Number Representations and Basic Processor Architecture
Instruction cycle Instruction: A command given to the microprocessor to perform an operation Program : A set of instructions given in a sequential.
R.RAJKUMAR DEPARTMENT OF CSE
Architecture & Support Components
8085 Microprocessor Architecture
X1 & X2 These are also called Crystal Input Pins.
The 8085 Microprocessor Architecture
INTRODUCTION TO 8085 MICROPROCESSOR ARCHITECTURE
8085 Microprocessor Architecture
AGENDA Architecture Microprocessor Communication and Bus Timings
AGENDA Architecture Microprocessor Communication and Bus Timings
Register sets The register section/array consists completely of circuitry used to temporarily store data or program codes until they are sent to the.
Computer Operation 6/22/2019.
CPU Sequencing 7/20/2019.
Presentation transcript:

8085 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: Data bus Address bus Control & status lines Externally generated Serial interface 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 latch IC (74373/8212). The external latch IC is used for the de-multiplexing of AD7-AD0 lines, i.e., it is used to separate the address and data from AD7-AD0 lines. If ALE = 1/0 then external latch IC is enabled / disabled respectively.

Architecture 0f 8085 Cont… 8. Interrupt Control 9.Serial I/O Control 10.Address Bus 11. Data Bus ALU Timing and Control Unit General Purpose Registers Program Status word Program Counter Stack Pointer Instruction Register and Decoder

PROGRAMMING MODEL OF 8085

REGISTERS The Registers are of 8-bit & 16-bit size used for different purposes A- Accumulator – This is an special purpose register. All the ALU operations are performed with reference to the contents of Accumulator. B,C,D,E,H,L – General purpose registers. These registers can also used for 16-bit operations in pairs. The default pairs are BC, DE & HL.

ALU – Arithmetic & Logic Unit ALU of 8085 performs 8-bit arithmetic & logical operations. The operations are generally performed with Accumulator as one of the operands. The result is saved in accumulator register. Timing & Control Unit This unit works as the brain of the CPU and generates all the timing and control signals to perform all the internal & external operations of the CPU. Instruction Decoder & Machine Cycle Encoder Unit This unit decodes the op-code stored in the Instruction Register (IR) and encodes it for the timing & control unit to perform the execution of the instruction.

Flag Registers:-It consists of 5 flip flop which changes its status according to the result stored in an accumulator. It is also known as status registers. It is connected to the ALU. There are five flip-flops in the flag register are as follows: 1.Sign(S) 2.zero(z) 3.Auxiliary carry(AC) 4.Parity(P) 5.Carry(C)

The bit position of the flip flop in flag register is:                                                  All of the three flip flop set and reset according to the stored result in the accumulator. 1.Sign- If D7 of the result is 1 then sign flag is set otherwise reset. As we know that a number on the D7 always decides the sign of the number. if D7 is 1: the number is negative. if D7 is 0: the number is positive.

2.Zeros(Z)-If the result stored in an accumulator is zero then this flip flop is set otherwise it is reset.if D6=1 flag is set. 3.Auxiliary carry(AC)-If any carry goes from D3 to D4 in the output then it is set otherwise it is reset. 4.Parity(P)-If the no of 1's is even in the output stored in the accumulator then it is set otherwise it is reset for the odd. 5.Carry(C)-If the result stored in an accumulator generates a carry in its final output then it is set otherwise it is reset. Instruction registers(IR):-It is a 8-bit register. When an instruction is fetched from memory then it is stored in this register. Instruction Decoder:- Instruction decoder identifies the instructions. It takes the informations from instruction register and decodes the instruction to be performed.

Program Counter:-It is a 16 bit register used as memory pointer Program Counter:-It is a 16 bit register used as memory pointer. It stores the memory address of the next instruction to be executed. So we can say that this register is used to sequencing the program. Generally the memory have 16 bit addresses so that it has 16 bit memory. The program counter is set to 0000H. Stack Pointer:-It is also a 16 bit register used as memory pointer. It points to the memory location called stack. Generally stack is a reserved portion of memory where information can be stores or taken back together.

Timing and Control Unit:-It provides timing and control signal to the microprocessor to perform the various operation. It has three control signal. It controls all external and internal circuits. It operates with reference to clock signal. It synchronizes all the data transfers. There are three control signal: 1.ALE-Airthmetic Latch Enable, It provides control signal to synchronize the components of microprocessor. 2.RD- This is active low used for reading operation. 3.WR-This is active low used for writing operation.

There are three status signal used in microprocessor S0, S1 and IO/M. It changes its status according the provided input to these pins.                                  

Serial Input Output Control-There are two pins in this unit Serial Input Output Control-There are two pins in this unit. This unit is used for serial data communication. Interrupt Unit-There are 6 interrupt pins in this unit. Generally an external hardware is connected to these pins. These pins provide interrupt signal sent by external hardware to microprocessor and microprocessor sends acknowledgement for receiving the interrupt signal. Generally INTA is used for acknowledgement. 

The 8085 Bus Structure 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.

Over all structure 8085 A15- A10 A15-A8 A9- A0 A7- A0 D7- D0 ALE Latch AD7-AD0 D7- D0 A7- A0 8085 ALE IO/M RD WR 1K Byte Memory Chip CS A9- A0 A15- A10 Chip Selection Circuit

MPU Communication and Bus Timing Figure 3: Moving data form memory to MPU using instruction MOV C, A (code machine 4FH = 0100 1111)

Instruction Set Broadly classified into two types: Based on word size: One word- Opcode only (CMA, ADD B) Two word- Opcode ,an operand (MVI A,32H) Three word- Opcode, operand, operand (LDA 4200, STA 4500) Based on function: Data transfer group (MOV A,B; MVI A,32H;MOV C,4500) Arithmetic operations (ADD B, SBI 32H,INC D, DEC B) Logical operations (ANA B, ORI 05H, RLC, RAR) Branching operations (JUMP, JMP, JNZ, JC, CALL, RETURN) Machine control instructions (HLT, NOP,EI,DI,SIM,RIM)

ADDRESSING MODES Immediate (MOV A,B ;ADD B; SUB E;ANA C) Register (MVI A,05H;LXI B, 20AEH; ADI 05H;ORI 07H) Direct (LDA 4500H;STA 7500H;IN 09H;OUT 70H) Indirect (MOV A, M;MOV M,A;ADD M;ORA M) Implied(implicit) (HLT; NOP;RST;RET)