University of Tehran 1 Microprocessor System Design Processor Timing.

Slides:



Advertisements
Similar presentations
The CPU The Central Presentation Unit What is the CPU?
Advertisements

The Fetch – Execute Cycle
Machine cycle.
Central Processing Unit
CS364 CH16 Control Unit Operation
Damian BrowneLuis PabonPedro Tovar The operation of a computer in executing a program consists of a sequence of Instruction Cycles, with one machine.
MICROPROCESSORS TWO TYPES OF MODELS ARE USED :  PROGRAMMER’S MODEL :- THIS MODEL SHOWS FEATURES, SUCH AS INTERNAL REGISTERS, ADDRESS,DATA & CONTROL BUSES.
Parul Polytechnic Institute
University of Tehran 1 Microprocessor System Design Interrupt Omid Fatemi
Introduction to Microprocessors (CS 45) Session Microprocessor - 2.
Timing Diagram is a graphical representation
NDG-L37-41Introduction to ASIC Design1 Design of a Simple Customizable Microprocessor * Chapter 7 and 15, “Digital System Design and Prototyping”  SIMP.
CBP Comp 1017 Digital Technologies1 Let’s make a Computer.
3-1 ECE 424 Design of Microprocessor-Based Systems Haibo Wang ECE Department Southern Illinois University Carbondale, IL Intel 8088 (8086) Microprocessor.
Stored Program Concept: The Hardware View
Basic Computer Organization, CPU L1 Prof. Sin-Min Lee Department of Computer Science.
80x86 Processor Architecture
1 Sec (2.3) Program Execution. 2 In the CPU we have CU and ALU, in CU there are two special purpose registers: 1. Instruction Register 2. Program Counter.
The 8086 Microprocessor The 8086, announced in 1978, was the first 16-bit microprocessor introduced by Intel Corporation 8086 is 16-bit MPU. Externally.
CPU Fetch/Execute Cycle
Fetch Execute Cycle Travis Griffiths. Naming Conventions and Disclaimer Individual registers in a particular CPU will have different names depending on.
Basic Operational Concepts of a Computer
An Introduction to 8086 Microprocessor.
Basic Microcomputer Design. Inside the CPU Registers – storage locations Control Unit (CU) – coordinates the sequencing of steps involved in executing.
CPU Design. Introduction – The CPU must perform three main tasks: Communication with memory – Fetching Instructions – Fetching and storing data Interpretation.
The Central Processing Unit (CPU) and the Machine Cycle.
Fetch-execute cycle.
INTRODUCTION TO MICROPROCESSOR Engr. Ammar Anwar Khan.
Microprocessor Microprocessor (cont..) It is a 16 bit μp has a 20 bit address bus can access upto 220 memory locations ( 1 MB). It can support.
Computers organization & Assembly Language Chapter 1 THE 80x86 MICROPROCESSOR.
Computer Architecture Lecture 5 by Engineer A. Lecturer Aymen Hasan AlAwady 25/11/2013 University of Kufa - Informatics Center for Research and Rehabilitation.
Khaled A. Al-Utaibi  I/O Ports  I/O Space VS Memory Space  80x86 I/O Instructions − Direct I/O Instructions − Indirect I/O Instructions.
Intel 8086 (8088) Microprocessor Structure
CS61C L20 Datapath © UC Regents 1 Microprocessor James Tan Adapted from D. Patterson’s CS61C Copyright 2000.
GROUP 2 CHAPTER 16 CONTROL UNIT Group Members ๏ Evelio L. Hernandez ๏ Ashwin Soerdien ๏ Andrew Keiper ๏ Hermes Andino.
COMP 1321 Digital Infrastructure Richard Henson University of Worcester October 2012.
MODULE 5 INTEL TODAY WE ARE GOING TO DISCUSS ABOUT, FEATURES OF 8086 LOGICAL PIN DIAGRAM INTERNAL ARCHITECTURE REGISTERS AND FLAGS OPERATING MODES.
1 Basic Processor Architecture. 2 Building Blocks of Processor Systems CPU.
Microprocessor Fundamentals Week 2 Mount Druitt College of TAFE Dept. Electrical Engineering 2008.
Central Processing Unit Decode Cycle. Central Processing Unit Current Instruction Register (CIR) I1 The fetch cycle has transferred an instruction from.
CPUz 4 n00bz.
Microprocessors 3 Buses, Addresses and Machine Cycles 1 Modified April 2011 ©Paul R. Godin prgodin gmail.com.
Lec 4-2 Five operations of the machine cycle Fetch- fetch the next program instruction from memory. (PC+1); instruction to IR Decode- decode the instruction.
I NTEL 8086 M icroprocessor بسم الله الرحمن الرحيم 1.
TIMING DIAGRAM OF 8085 By Sadhish Prabhu.
Gunjeet Kaur Dronacharya Group of institutions
Timing diagrams.
1. Introduction A microprocessor executes instructions given by the user Instructions should be in a language known to the microprocessor Microprocessor.
16.317: Microprocessor System Design I
Instruction Execution Cycle
TIMING DIAGRAM OF 8085.
16.317: Microprocessor System Design I
פרק 2: חיווט, זיכרונות בנקים זוגיים ואי-זוגיים
The fetch-execute cycle
Figure 8.1 Architecture of a Simple Computer System.
Instruction cycle Instruction: A command given to the microprocessor to perform an operation Program : A set of instructions given in a sequential.
Intro to Architecture & Organization
8086 Registers Module M14.2 Sections 9.2, 10.1.
Morgan Kaufmann Publishers Computer Organization and Assembly Language
The Little Man Computer
Lecture 06 Programming language.
PIPELINING Santosh Lakkaraju CS 147 Dr. Lee.
Unit-I 80386DX Architecture
COMP 1321 Digital Infrastructure
A Top-Level View Of Computer Function And Interconnection
Computer Architecture
Lecture 08 Mid Term Revision.
Microprocessor Lecture 7 (8086 Registers).
Sec (2.3) Program Execution.
Fetch And Add – switching network
Presentation transcript:

University of Tehran 1 Microprocessor System Design Processor Timing

University of Tehran 2 Outline Machine cycle Fetch, decode, execute Processor timing Bus cycles Memory / IO read Memory / IO write

University of Tehran 3 Where is a program stored? ;assume that initially ;ds = 2000, bx = 0023, ax = 351C ;cs = 1000, ip = 0005 mov[bx], al;8807 hlt;F4

University of Tehran 4 How does the  P works? Fetch Increment Program Counter (CS:IP) by 1 Decode Execute

University of Tehran 5 CS:IP FETCH

University of Tehran :0005 FETCH

University of Tehran FETCH

University of Tehran LOW HIGH FETCH

University of Tehran LOW HIGH FETCH

University of Tehran LOW HIGH FETCH

University of Tehran 11 INC. PC

University of Tehran 12 INC. PC

University of Tehran 13 DECODE mov [bx], ?

University of Tehran 14 CS:IP FETCH

University of Tehran :0006 FETCH

University of Tehran FETCH

University of Tehran LOW HIGH FETCH

University of Tehran LOW HIGH FETCH

University of Tehran LOW HIGH FETCH

University of Tehran 20 INC. PC

University of Tehran 21 INC. PC

University of Tehran 22 DECODE mov [bx], al

University of Tehran 23 DS:BX EXECUTE mov [bx], al

University of Tehran :0023 EXECUTE mov [bx], al

University of Tehran EXECUTE mov [bx], al

University of Tehran C EXECUTE mov [bx], al

University of Tehran C HIGH LOW EXECUTE mov [bx], al

University of Tehran C HIGH LOW EXECUTE mov [bx], al

University of Tehran 29 CS:IP FETCH

University of Tehran :0007 FETCH

University of Tehran FETCH

University of Tehran LOW HIGH FETCH

University of Tehran F4 LOW HIGH FETCH

University of Tehran F4 LOW HIGH FETCH

University of Tehran F4 LOW HIGH INC. PC

University of Tehran F4 LOW HIGH INC. PC

University of Tehran F4 LOW HIGH DECODE hlt

University of Tehran 38 EXECUTE hlt

University of Tehran 39 Machine Cycle

University of Tehran 40 Machine Cycle Timing Diagram

University of Tehran 41

University of Tehran 42 Processor Timing

University of Tehran 43 Processor Timing Diagram for the 1st fetch machine cycle (M1) of instruction mov [bx],al

University of Tehran 44 Processor Timing Diagram for the 2nd fetch machine cycle (M2) of instruction mov [bx],al

University of Tehran 45 Processor Timing Diagram for the execute machine cycle (M3) of instruction mov [bx], al

University of Tehran 46 Processor Timing Diagram for the 1st fetch machine cycle (M1) of instruction hlt

University of Tehran 47 Processor Timing Diagram for any memory read machine cycle

University of Tehran 48 Processor Timing Diagram for any memory write machine cycle

University of Tehran 49 Processor Timing Diagram for any I/O read machine cycle

University of Tehran 50 Processor Timing Diagram for any I/O write machine cycle