8 085Microprocessor Temp Reg (8) Accumulator (A reg) Flag flip flops(8) Instruction Register (8) Arithmetic Logic Unit ALU Instruction Decoder and Machine.

Slides:



Advertisements
Similar presentations
Dept. of Electronics A. N. College, Patna M. Sc
Advertisements

8085 Architecture & Its Assembly language programming
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.
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
Microprocessor and Microcontroller
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
4-1 ECE 424 Design of Microprocessor-Based Systems Haibo Wang ECE Department Southern Illinois University Carbondale, IL Hardware Detail of Intel.
1 TK2633TK Microprocessor Architecture DR MASRI AYOB.
GURSHARAN SINGH TATLA PIN DIAGRAM OF 8085 GURSHARAN SINGH TATLA
INSTRUCTION SET OF MICROPROCESSOR 8085
UNDERSTANDING ASSEMBLY LANGUAGE.
created by :Gaurav Shrivastava
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
Z80 Overview internal architecture and major elements of the Z80 CPU.
MICROPROCESSORS AND APPLICATIONS
Introduction to Microprocessors - chapter3 1 Chapter 3 The 8085 Microprocessor Architecture.
Assembly Language Programming of 8085 BY Prof. U. V. THETE Dept. of Computer Science YMA.
MACHINE CYCLE AND T-STATE
MICROPROCESSOR DETAILS 1 Updated April 2011 ©Paul R. Godin prgodin gmail.com.
The 8085 Microprocessor Architecture. What 8085 meant for? 80 - year of invention bit processor 5 - uses +5V for power.
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
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.
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
Unit 1 Instruction set M.Brindha AP/EIE
MICROPROCESSOR AND INTERFACING
COURSE OUTCOMES OF Microprocessor and programming
BLOCK DIAGRAM OF INTEL 8085.
8085 INTRODUCTION The features of INTEL 8085 are :
Everybody.
Assembly Language Programming of 8085
Microprocessor T. Y. B. Sc..
Detailed Review of the 8085 Instruction Set.
3.Instruction Set of 8085 Consists of 74 operation codes, e.g. MOV
CPU Sequencing 6/30/2018.
EE3541 Introduction to Microprocessors
Introduction to 8085 Instructions
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
MICROPROCESSOR AND PERIPHERAL DEVICES
MICROPROCESSOR AND PERIPHERAL DEVICES
R.RAJKUMAR DEPARTMENT OF CSE
Architecture & Support Components
Chapter 1 Introduction.
INSTRUCTION SET OF 8085.
8085 Microprocessor Architecture
X1 & X2 These are also called Crystal Input Pins.
Interrupts.
Md. Mojahidul Islam Lecturer Dept. of Computer Science & Engineering
Md. Mojahidul Islam Lecturer Dept. of Computer Science & Engineering
8085 Microprocessor Architecture
Computer Operation 6/22/2019.
CPU Sequencing 7/20/2019.
Presentation transcript:

8 085Microprocessor

Temp Reg (8) Accumulator (A reg) Flag flip flops(8) Instruction Register (8) Arithmetic Logic Unit ALU Instruction Decoder and Machine cycle encoding B reg (8) D reg (8) C reg (8) H reg (8) E reg (8) L reg (8) Stack Pointer (16) Program Counter (16) Incrementer/ Decrementer address Latch (16) Address Buffer (8) Address/data Buffer (8) CLK out CLK Timing & Control GEN CONTROL STATUS DMA RESET Ready RD WR ALE S 0 S 1 IO/M HOLD HLDA RESET IN RESET OUT Serial I/O control SOD SID Interrupt Control INTR INTA RST 5.5 RST 6.5 RST7.5 TRAP Register Set A 15 – A 8 AD 7 – AD 0 Address bus Address/Data bus 8-bit internal data bus 8085 ARCHITECTURE (8) Multiplexer X1 X2

Temp Reg (8) Accumulator (A reg) Flag flip flops(8) Instruction Register (8) Arithmetic Logic Unit ALU Instruction Decoder and Machine cycle encoding B reg (8) D reg (8) C reg (8) H reg (8) E reg (8) L reg (8) Stack Pointer (16) Program Counter (16) Incrementer/ Decrementer address Latch (16) Address Buffer (8) Address/data Buffer (8) CLK out CLK Timing & Control GEN CONTROL STATUS DMA RESET Ready RD WR ALE S 0 S 1 IO/M HOLD HLDA RESET IN RESET OUT Serial I/O control SOD SID Interrupt Control INTR INTA RST 5.5 RST 6.5 RST7.5 TRAP A 15 – A 8 AD 7 – AD 0 Address bus Address/Data bus (8) Timing Circuit Fetching and Decoding of instructions EXECUTION UNIT Multiplexer X1 X2

Timing & Control Timing Circuit: CLK – 5 MHz X1, X2 (Input) :Crystal or R/C network connections to set the internal clock generator X1 can also be an external clock input instead of a crystal. CLK (Output) : Clock Output for use as a system clock when a crystal or R/ C network is used as an input to the CPU. The period of CLK is twice the X1, X2 input period. RESET IN (Input) Reset sets the Program RESET OUT (Output) Indicates CPU is being reset. Can be used as a system RESET. The signal is synchronized to the processor clock.

CONTROL READY (Input): If Ready is high during a read or write cycle, it indicates that the memory or peripheral is ready to send or receive data. RD,READ: indicates the selected memory or I/0 device is to be read and that the DataBus is available for the data transfer. WR,WRITE: indicates the data on the Data Bus is to be written into the selected memory or 1/0 location. ALE (Output) Address Latch Enable: It occurs during the first clock cycle of a machine state and enables the address. IO/M: IO/M indicates whether the Read/Write is to memory or l/O

STATUS: S1 S0 OOHALT 01WRITE 10READ 11FETCH

DMA (Direct Memory Access): HOLD (Input) HOLD; indicates that another Master is requesting the use of the Address and Data Buses. The CPU, upon receiving the Hold request will relinquish the use of buses as soon as the completion of the current machine cycle. Internal processing can continue. HLDA (Output) HOLD ACKNOWLEDGE; indicates that the CPU has received the Hold request and that it will relinquish the buses in the next clock cycle. Memory

Register Set: Accumulator: It is the processor register. At least one operand is definitely present in accumulator B reg (8) D reg (8) C reg (8) H reg (8) E reg (8) L reg (8) Instruction Register (8) Instruction Decoder and Machine cycle encoding Stack Pointer (16) Program Counter (16) Incrementer/ Decrementer address Latch (16)

D7D7D7D7 D6D6D6D6 D5D5D5D5 D4D4D4D4 D3D3D3D3 D2D2D2D2 D1D1D1D1 D0D0D0D0 SZACPCY Flag / Status bits/PSW/Program Status Word Flag flip flops(8) Arithmetic Logic Unit ALU

Serial I/O control SOD SID Interrupt Control INTR INTA RST 5.5 RST 6.5 RST7.5 TRAP Priority of interrupts: 1.TRAP (Non Maskable) : occurs at completion of each instruction. 2.RST RST RST These are restart interrupts 5. INTR 5 interrupts for 8085: INTR, RST 5.5,6.5,7.5 and TRAP SID: Serial i/p data SOD: Serial out data

Pin Description: 5 volts Vcc Ground

Memory Organisation of 8085: 8085 has 16 bit address lines, through which it is possible to address 2 16 locations, i.e., up to 64 kilobytes or 64 KB locations. Each location is represented with an address of 16 binary bits or 4 hexadecimal digits. For example: a location’s address can be shown as or just in simple way as 1000 H. In these 64 KB locations each location can hold 8 bits or a byte in it as 8085 has an 8 bit data width. Note : 8085 can also work on 16 bit data by splitting it in to two 8 bit data.

T 1 T 2 T 3 T 4 T 5 T 6 ADDRESS DATA CLK A0-A15 ALE D0-D7

ADDRESSING MODES

1. Immediate Addressing Mode: Data is present in the instruction. Load the immediate data to the destination provided. Example: MVI R,data 2. Register Addressing Mode: Data is provided through the registers. Example: MOV Rd, Rs 3. Direct Addressing Mode: Used to accept data from outside devices/port 00H to store in the accumulator or send the data stored in the accumulator to the outside device/ port 01H. Example: IN 00H or OUT 01H 4. Indirect Addressing Mode: This means that the Effective Address iscalculated by the processor. And the contents of the address (and the one following) is used to form a second address. The second address is where the data is stored.

Programming Model Of 8085 INSTRUCTION SET Data Transfer Instructions Arithmetic Instructions Logical Instructions Branching Instructions

Data Transfer Instructions: MOV  Move ; copy a data byte from a memory/ register MVI  Move Immediate data ; load a byte directly IN  Input from port ; Read a data byte from an input device OUT  Output to port ; Send a data byte to an output device HLT  halt ; Stop processing and wait NOP  No operation ; do not perfrom any operation Arithmetic Operations: ADD : addition SUB : subtract ADI : Add immediate SUI : Subtract immediate INR : Increment DCR : Decrement

Logical Instructions: ANA : AND operation ANI : AND immediate ORA : OR ORI : OR immediate XRA: X-OR XRI : X-OR immediate CMA: complement accumulator RL: Rotate Left RLC : Rotate Left Through Carry RR : Rotate Right RRC: Rotate Right Through carry

Branching Instructions: Uncondtional branch: JMP : Jump to the specific address CALL: Call a subroutine Conditional branch: JC : Jump on carry JNC: Jump on no carry JZ : Jump on zero JNZ : Jump on not zero RET : Return from a subroutine RETI : Return from a interrupt sub routine

A simple Program Load Accumulator and B registers with immediate values and ADD them Memory Address Instruction Binary/HEX code MVI A,#05 MVI B,#04 ADD A,B HLT

Instruction constitutes of OPCODE and OPERAND/s Instruction types One byte instruction Two byte instruction Three byte instruction One byte instruction: MOV A,B; in hexa form it is only shown as 3B H It means that MOV is written in hexa form as 3EH understood by the system and A and B are internal registers so no need to show any other specific representation for them. So the number of bytes this instruction needs is only 1 byte.

Two byte instructions: Ex: MVI A,#05 ; load accumulator with an immediate data called 5. Here A is internal register, so it doesn’t need any other representation MVI and 05 are shown in binary of HEXA form as 3E for MVI and 05 for 05(data) So this instruction needs 16 binary bits or 2 bytes Three byte instructions: Ex: jmp 2000 Here 2000 is some 16 bit address, it already has two bytes in it and JMP needs other representation as C3. So this instruction is of 3 bytes

A simple Program Load Accumulator and B registers with immediate values and ADD them Memory Address Instruction Binary/HEX code MVI A,#05 MVI B,#04 ADD A,B HLT E, 04 3E, ?????

T1T1 T2T2 T3T3 T4T4 T1T1 T2T2 CLK T3T3 HIGH ORDERADDRESS 20 LOW ORDERADDRESS 00 ALE 3E HIGH ORDERADDRESS 20 LOW ORDERADDRESS A 15 -A 7 A 7 -A 0 Data D7 –D0 RD FETCH & DECODE CYCLE EXECUTE CYCLE MVI A, 05

CONCLUSIONS: 8085 Devoloped by INTEL CORPORATION An 8 bit Microprocessor 16 bit address lines Memory represented upto 64 KB. 4 Addressing Modes

HAPPY NEW YEAR