AMITY UNIVERSITY RAJASTHAN Present By M.Sc Applied Chemistry.

Slides:



Advertisements
Similar presentations
Parul Polytechnic Institute
Advertisements

Dr. Rabie A. Ramadan Al-Azhar University Lecture 3
MICROPROCESSORS TWO TYPES OF MODELS ARE USED :  PROGRAMMER’S MODEL :- THIS MODEL SHOWS FEATURES, SUCH AS INTERNAL REGISTERS, ADDRESS,DATA & CONTROL BUSES.
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
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
MICRO PROCESSER The micro processer is a multipurpose programmable, clock driven, register based, electronic integrated device that has computing and decision.
BLOCK DIAGRAM OF INTEL 8085 GURSHARAN SINGH TATLA
TK 2633 Microprocessor & Interfacing
1 TK2633TK Microprocessor Architecture DR MASRI AYOB.
Room: E-3-31 Phone: Dr Masri Ayob TK 2633 Microprocessor & Interfacing Lecture 1: Introduction to 8085 Assembly Language.
Unit-1 PREPARED BY: PROF. HARISH I RATHOD COMPUTER ENGINEERING DEPARTMENT GUJARAT POWER ENGINEERING & RESEARCH INSTITUTE Advance Processor.
GURSHARAN SINGH TATLA PIN DIAGRAM OF 8085 GURSHARAN SINGH TATLA
created by :Gaurav Shrivastava
Computer Architecture
Microprocessor Dr. Rabie A. Ramadan Al-Azhar University Lecture 2.
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
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.
Assembly Language Programming of 8085 BY Prof. U. V. THETE Dept. of Computer Science YMA.
MACHINE CYCLE AND T-STATE
Simple ALU How to perform this C language integer operation in the computer C=A+B; ? The arithmetic/logic unit (ALU) of a processor performs integer arithmetic.
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.
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.
Everybody.
The 8085 Microprocessor Architecture
Assembly Language Programming of 8085
Microprocessor T. Y. B. Sc..
3.Instruction Set of 8085 Consists of 74 operation codes, e.g. MOV
Introduction to microprocessor (Continued) Unit 1 Lecture 2
The 8085 Microprocessor Architecture
Introduction to 8085 Instructions
Dr. Michael Nasief Lecture 2
8085 microprocessor.
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
UNIT ONE MICROPROCESSOR 8085
Architecture of Microprocessor (Intel 8085) Unit-I
MICROPROCESSOR AND PERIPHERAL DEVICES
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
Chapter 1 Introduction.
8085 Microprocessor Architecture
X1 & X2 These are also called Crystal Input Pins.
The 8085 Microprocessor Architecture
8085 Microprocessor Architecture
Computer Operation 6/22/2019.
Presentation transcript:

AMITY UNIVERSITY RAJASTHAN Present By M.Sc Applied Chemistry

Introduction of 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.

What is a Microprocessor? The word comes from the combination micro and processor.  Processor means a device that processes whatever. In this context processor means a device that processes numbers, specifically binary numbers, 0’s and 1’s.  To process means to manipulate. It is a general term that describes all manipulation. Again in this content, it means to perform certain operations on the numbers that depend on the microprocessor’s design.

Definition of the Microprocessor The microprocessor is a programmable device that takes in numbers, performs on them arithmetic or logical operations according to the program stored in memory and then produces other numbers as a result.

Pin Out

Signal Diagram

Description of Pin out and Signal 8085 is a 40 pin IC, DIP package. The signals from the pins can be grouped as seven types. 1.Power supply and clock signals. 2.Address bus. 3.Data bus. 4.Control and status signals. 5.Interrupts and externally initiated signals. 6.Serial I/O ports. 7.Direct Memory Access (DMA).

1. Power supply and Clock frequency signals:  Vcc + 5 volt power supply.  Vss Ground  X1, X2 : Crystal or R/C network or LC network connections to set the frequency of internal clock generator.  The frequency is internally divided by two. Since the basic operating timing frequency is 3 MHz, a 6 MHz crystal is connected externally.  CLK (output)-Clock Output is used as the system clock for peripheral and devices interfaced with the microprocessor.

2. Address Bus:  A8 - A15 (output; 3-state).  It carries the most significant 8 bits of the memory address or the 8 bits of the I/O address; 3. Multiplexed Address / Data Bus:  AD0 - AD7 (input/output; 3-state)  These multiplexed set of lines used to carry the lower order 8 bit address as well as data bus.  During the opcode fetch operation, in the first clock cycle, the lines deliver the lower order address A0 - A7.  In the subsequent IO / memory, read / write clock cycle the lines are used as data bus.  The CPU may read or write out data through these lines.

4.Control and Status signals:  ALE (output) - Address Latch Enable.  This signal helps to capture the lower order address presented on the multiplexed address / data bus.  RD (output 3-state, active low) - Read memory or IO device.  This indicates that the selected memory location or I/O device is to be read and that the data bus is ready for accepting data from the memory or I/O device.  WR (output 3-state, active low) - Write memory or IO device.  This indicates that the data on the data bus is to be written into the selected memory location or I/O device.  IO/M (output) - Select memory or an IO device.  This status signal indicates that the read / write operation relates to whether the memory or I/O device.  It goes high to indicate an I/O operation.  It goes low for memory operations.

5. Status Signals: It is used to know the type of current operation of the microprocessor.

6. Interrupts and Externally initiated operations: They are the signals initiated by an external device to request the microprocessor to do a particular task or work. There are five hardware interrupts called, Reset In (input, active low) This signal is used to reset the microprocessor. The program counter inside the microprocessor is set to zero. The buses are tri-stated. Reset Out (Output) It indicates CPU is being reset. Used to reset all the connected devices when the microprocessor is reset.

7. Direct Memory Access (DMA): 3 output states are high & low states and additionally a high impedance state. When enable E is high the gate is enabled and the output Q can be 1 or 0 (if A is 0, Q is 1, otherwise Q is 0). However, when E is low the gate is disabled and the output Q enters into a high impedance state.

Internal Architecture

Flags/Flags Register  Flag register contains information reflecting the current status of amicroprocessor. It also contains information which controls the operation of the microprocessor.

Zero Flag  Is set if result obtained after an operation is 0.  Is set following an increment or decrement operation of that register Carry Flag  Is set if there is a carry or borrow from arithmetic operation Carry Auxillary Carry Flag  Is set if there is a carry out of bit 3 Parity Flag  Is set if parity is even  Is cleared if parity is odd

Program Counter  This is a register that is used to control the sequencing of the execution of instructions.  This register always holds the address of the next instruction.  Since it holds an address, it must be 16 bits wide. This the part of internal architecture

Introduction to Microprocessor 8085  Microprocessor is a electronic chip, that functions as the central processing unit of a computer. For example: Washing machines, microwave ovens, mobile phones etc. Its advance applications are Radar, Satellites, flights.  All processors are use the basic concept of stored program execution. program or instructions are stored sequentially in the memory. Every microprocessor has its own associated set of instructions. Instruction set for microprocessor is in two forms one in mnemonic, which is comparatively easy to understand and the other is binary machine code.  The Intel 8085 ("eighty-eighty-five") is an 8-bit microprocessor introduced by Intel in The 8085 is a conventional von Neumann design based on the Intel It is designed by using nmos technology. The "5" in the model number came from the fact that the 8085 requires only a +5-Volt (V) power supply. rather than requiring the +5 V, −5 V and +12 V supplies the 8080 needed. It has 8 bit data bus and 16 bit address bus. it can work upto 5 MHz frequency. It has 40 pins in its chip. Lower order address bus is multiplexed with data bus to minimize the chip size.

Instruction Set

Instruction and Data Formats Each instruction has two parts. The first part is the task or operation to be performed.  This part is called the “opcode” (operation code).  The second part is the data to be operated on Called the “operand”.

Data Transfer Operations These operations simply COPY the data from the source to the destination. –MOV, MVI, LDA, and STA They transfer:  Data between registers.  Data Byte to a register or memory location.  Data between a memory location and a register.  Data between an I\O Device and the accumulator. The data in the source is not changed.

Arithmetic Operations For Addition and Subtraction puts the opcode to operates or instructs the machine Addition(ADD, ADI):  Any 8-bit number.  The contents of a register.  The contents of a memory location. Can be added to the contents of the accumulator and the result is stored in the accumulator. Subtraction(SUB, SUI):  Any 8-bit number  The contents of a register  The contents of a memory location Can be subtracted from the contents of the accumulator. The result is stored in the accumulator.

Logic Operations These instructions perform logic operations on the contents of the accumulator. ANA, ANI, ORA, ORI, XRA and XRI Source: Accumulator and  An 8-bit number  The contents of a register  The contents of a memory location Destination: Accumulator ANA R/M AND Accumulator With Reg/Mem ANI # AND Accumulator With an 8-bit number ORA R/M OR Accumulator With Reg/Mem ORI # OR Accumulator With an 8-bit number XRA R/M XOR Accumulator With Reg/Mem XRI # XOR Accumulator With an 8-bit number

Branch code Two types: Unconditional branch :- Go to a new location no matter what. Conditional branch :- Go to a new location if the condition is true. Example Of Unconditional branch JMP Address : Jump to the address specified (Go to). CALL Address: Jump to the address specified but treat it as a subroutine. RET : Return from a subroutine. Example Of Conditional branch Go to new location if a specified condition is met. JZ Address(Jump on Zero):- Go to address specified if the Zero flag is set. JNZ Address(Jump on NOT Zero):- Go to address specified if the Zero flag is not set. JC Address(Jump on Carry):- Go to the address specified if the Carry flag is set. JNC Address(Jump on No Carry):- Go to the address specified if the Carry flag is not set. JP Address(Jump on Plus):- Go to the address specified if the Sign flag is not set JM Address(Jump on Minus):- Go to the address specified if the Sign flag is set.

Machine Code When Opcode and operand are used to operate machine,this are called machine code or machine language.  Certain patterns are chosen and assigned specific meanings.  Each of these patterns forms an instruction for the microprocessor.  The complete set of patterns makes up the microprocessor’s machine language The instructions constituting a program are rarely specified using their internal, numeric form (machine code); they may be specified by programmers using an assembly language or, more commonly, may be generated from programming languages by compilers.

Op code There are more than 275 op code, opcode/operational code are uses to operate the machine.

Representation of Various Control signals generated during Execution of an Instruction. Following Buses and Control Signals must be shown in a Timing Diagram:  Higher Order Address Bus.  Lower Address/Data bus  ALE  RD  WR  IO/M Instruction: A000h MOV A,B Corresponding Coding: A000h 78 Addressing Mode Timing Diagram

Machine Cycle The restart sequence is made up of three machine cycles In the 1st machine cycle:  The microprocessor sends the INTA signal.  While INTA is active the microprocessor reads the data lines expecting to receive, from the interrupting device, the opcode for the specific RST instruction. In the 2nd and 3rd machine cycles:  The 16-bit address of the next instruction is saved on the stack.  Then the microprocessor jumps to the address associated with the specified RST instruction.

The location in the IVT associated with the RST instruction can not hold the complete service routine.  The routine is written somewhere else in memory.  Only a JUMP instruction to the ISR’s location is kept in the IVT block. Restart Sequence