Exemple dexécution dun programme IADD Jeux dinstructions de la machine Traduction en hexa 0x60.

Slides:



Advertisements
Similar presentations
Exemple dexécution dun programme ISTORE 1 Jeux dinstructions de la machine Traduction en hexa 0x36 0x01.
Advertisements

Fetch-Execute cycle. Memory Read operation Read from memory.
The Fetch – Execute Cycle
Memory. Memory.
Machine cycle.
The Fetch Execute Cycle
Central Processing Unit
Chapter 4 - MicroArchitecture
Adding the Jump Instruction
Slide 4-1 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 4 Computer Organization.
The Microprocessor and its Architecture
1 COSC 3P92 Cosc 3P92 Week 5 Lecture slides Voters quickly forget what a man says. Richard M. Nixon ( ) Former U.S. President.
CPU Design. CS252/Culler Lec 1.2 1/22/02 Levels of Representation (61C Review) High Level Language Program Assembly Language Program Machine Language.
Introduction to Microprocessors (CS 45) Session Microprocessor - 2.
Timing Diagram is a graphical representation
The 8085 Microprocessor Architecture. Contents The 8085 and its Buses. The address and data bus ALU Flag Register Machine cycle Memory Interfacing The.
NDG-L37-41Introduction to ASIC Design1 Design of a Simple Customizable Microprocessor * Chapter 7 and 15, “Digital System Design and Prototyping”  SIMP.
The CPU. Parts of the CPU Control Unit Arithmetic & Logic Unit Registers.
MEMORY ORGANIZATION Memory Hierarchy Main Memory Auxiliary Memory
System Clock, clock speed, Word Length & Bus Width.
Chapter 6 Microlevel of H1 and V1. We start with some concepts from Chapter 5 that are essential for this chapter.
Tanenbaum, Structured Computer Organization, Fifth Edition, (c) 2006 Pearson Education, Inc. All rights reserved The Microarchitecture Level.
Mic-1: Microarchitecture University of Fribourg, Switzerland System I: Introduction to Computer Architecture WS January 2006
An Example Implementation
The Microarchitecture Level The level above the digital logic level is the microarchitecture level.  Its job is to implement the ISA (Instruction Set.
The Computer Processor
Design and Synthesis of a RISC Stored-Program Machine
Princess Sumaya Univ. Computer Engineering Dept. Chapter 4: IT Students.
Princess Sumaya Univ. Computer Engineering Dept. Chapter 4:
CPU Fetch/Execute Cycle
Computer Science 210 Computer Organization The Instruction Execution Cycle.

Computer Architecture and Organization Introduction.
Computer Science 210 Computer Organization The von Neumann Architecture.
1 Computer Organization Today: First Hour: Computer Organization –Section 11.3 of Katz’s Textbook –In-class Activity #1 Second Hour: Test Review.
TDC 311 The Microarchitecture. Introduction As mentioned earlier in the class, one Java statement generates multiple machine code statements Then one.
Introduction to Computing Systems from bits & gates to C & beyond The Von Neumann Model Basic components Instruction processing.
An Example Implementation  In principle, we could describe the control store in binary, 36 bits per word.  We will use a simple symbolic language to.
Microarchitecture Level 1 Introduction to Computer Architecture, Bachelor Course, 1st Semester, University of Fribourg, Switzerland © Béat Hirsbrunner.
The Microarchitecture Level
Model Computer CPU Arithmetic Logic Unit Control Unit Memory Unit
General Concepts of Computer Organization Overview of Microcomputer.
Princess Sumaya Univ. Computer Engineering Dept. Chapter 5:
Mic-1: Microarchitecture University of Fribourg, Switzerland System I: Introduction to Computer Architecture WS December 2006 Béat Hirsbrunner,
Computer Science 101 Computer Systems Organization.
Fetch-execute cycle.
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.
1 ALU ports can get input from any of the two registers ALU can perform one of the eight operations Shift unit can perform one of the four possible types.
ECE Computer Architecture Lecture Notes # 6 Shantanu Dutt How to Add To & Use the Basic Processor Organization To Execute Different Instructions.
COMPILERS CLASS 22/7,23/7. Introduction Compiler: A Compiler is a program that can read a program in one language (Source) and translate it into an equivalent.
Computer Systems Organization
CBP Comp 1017 Digital Technologies1 Let’s make a Computer … at least the CPU … Pentium 4 Pentium 3 Opteron Ultra Sparc Itanium 2 McKinley.
The Micro Architecture Level
Our programmer needs to do this !
Computer Architecture Lecture 5 by Engineer A. Lecturer Aymen Hasan AlAwady 25/11/2013 University of Kufa - Informatics Center for Research and Rehabilitation.
The System Bus. Conceptual CPU Block Diagram Datapath Regs Buses ALU Control Unit Bus Interface IR etc. PC etc. Control Signals Status Signals PSR System.
1 Basic Processor Architecture. 2 Building Blocks of Processor Systems CPU.
Chapter 20 Computer Operations Computer Studies Today Chapter 20.
8085 Microprocessor Architecture
CE 454 Computer Architecture
Computer Science 210 Computer Organization
Five Execution Steps Instruction Fetch
Computer Science 210 Computer Organization
The fetch-execute cycle
Computer Science 210 Computer Organization
Functional Units.
The Little Man Computer
PZ01C - Machine architecture
PIPELINING Santosh Lakkaraju CS 147 Dr. Lee.
Computer Architecture
Presentation transcript:

Exemple dexécution dun programme IADD Jeux dinstructions de la machine Traduction en hexa 0x60

État Initial 3 0x00 0x60 0x05 0x00 0x04 Addr Alu JM 4 to 16 Decoder High Bit C B MPC B Bus C Bus Memory control signals (rd,wr,fetch) N Z MIR JMPC JAMN/JAMZ

Exemple chargement dune instruction 3 0x00 0x60 0x05 0x00 0x04 Addr Alu JM 4 to 16 Decoder High Bit C B MPC B Bus C Bus Memory control signals (rd,wr,fetch) N Z MIR JMPC JAMN/JAMZ

Exemple IADD (MAR=SP=SP-1; Rd ; Goto iadd2) 3 0x01 0x60 0x05 0x00 0x04 Addr Alu JM 4 to 16 Decoder High Bit C B MPC B Bus C Bus Memory control signals (rd,wr,fetch) N Z MIR JMPC JAMN/JAMZ

Exemple IADD (H=TOS ; Goto iadd3) 3 0x04 0x01 0xXX 0x04 0x00 0x04 Addr Alu JM 4 to 16 Decoder High Bit C B MPC B Bus C Bus Memory control signals (rd,wr,fetch) N Z MIR JMPC JAMN/JAMZ Arrivée de la valeur de la prochaine instruction

Exemple IADD (MDR=TOS=MDR+H ;Wr ;Goto Main1) 3 0x04 0x09 0x01 0xXX 0x04 0x00 0x04 Addr Alu JM 4 to 16 Decoder High Bit C B MPC B Bus C Bus Memory control signals (rd,wr,fetch) N Z MIR JMPC JAMN/JAMZ Arrivée de la valeur de ladresse mémoire 0x04

Résultat 3 0x04 0x0D 0x01 0xXX 0x04 0x00 0x0D 0x04 Addr Alu JM 4 to 16 Decoder High Bit C B MPC B Bus C Bus Memory control signals (rd,wr,fetch) N Z MIR JMPC JAMN/JAMZ