Lawrence Snyder University of Washington, Seattle © Lawrence Snyder 2004 Remember Back To The Lightbot.

Slides:



Advertisements
Similar presentations
Chapter 9 Principles of Computer Operations. Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Learning Objectives Describe.
Advertisements

Computer Bits and Parts Parts of the computer system.
Computer Components.
CHAPTER 4 COMPUTER SYSTEM – Von Neumann Model
Chapter 5: Computer Systems Organization Invitation to Computer Science, Java Version, Third Edition.
1 The Information School of the University of Washington Nov 8fit review © 2006 University of Washington Midterm 2 Review INFO/CSE 100, Fall 2006.
Chapter 9_3 Following Instructions: Principles of Computer Operation.
Chapter 0 Introduction to Computing
Computing Components 01/26/11. Announcements & Reminders Programs 1 due Friday, 9/2/11 What is my late policy? Proxy Codes for Labs  You should be able.
Chapter 9_2 Following Instructions: Principles of Computer Operation.
1. By the end of this lecture you should be able … To describe in general terms how computers function To describe the fetch-execute cycle To explain.
Chapter 9_1 Following Instructions: Principles of Computer Operation.
Basic Computer Organization CH-4 Richard Gomez 6/14/01 Computer Science Quote: John Von Neumann If people do not believe that mathematics is simple, it.
COMPONENTS OF THE SYSTEM UNIT
Following Instructions: Principles of Computer Operation
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Fluency with Information Technology Third Edition by Lawrence Snyder Chapter.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Principles of Computer Operations Following Instructions lawrence snyder.
Chapter 9 Principles of Computer Operations. Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Computer pioneers.
Fluency with Information Technology Katherine Deibel, Fluency in Information Technology 1 INFO100 and CSE100 Katherine Deibel.
Fluency with Information Technology Katherine Deibel, Fluency in Information Technology 1 INFO100 and CSE100 Katherine Deibel.
Learning Objectives Explain what a software stack represents and how it is used Describe how the Fetch/Execute Cycle works, listing the five steps Understand.
Computer Processing of Data
Chapter 9 Following Instructions: Principles of Computer Operation.
CS 1308 Computer Literacy and the Internet Computer Systems Organization.
CSCI-365 Computer Organization Lecture Note: Some slides and/or pictures in the following are adapted from: Computer Organization and Design, Patterson.
Chapter 1 Basic Structure of Computers. Chapter Outline computer types, structure, and operation instructions and programs numbers, arithmetic operations,
Lesson 2 — How Does A Computer Process Data?
Chapter 9 Principles of Computer Operations. Computer pioneers.
An Introduction to Computers August 12, 2008 Mrs. C. Furman.
Chapter 5: Computer Systems Organization Invitation to Computer Science, Java Version, Third Edition.
Computers Are Your Future Eleventh Edition Chapter 2: Inside the System Unit Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall1.
Microprocessor Dr. Rabie A. Ramadan Al-Azhar University Lecture 2.
Computer Architecture Lecture 9 by Engineer A. Lecturer Aymen Hasan AlAwady 10/2/2014 University of Kufa - Information Technology Research and Development.
1 Computer Basics How exactly does a computer work? © Lawrence Snyder, 2004.
COMPUTER SCIENCE QUESTIONS… BY JACK. WHAT IS THE CPU? The cpu is the central processing unit.
Chapter 5 Computing Components. 5-2 Chapter Goals List the components and their function in a von Neumann machine Describe the fetch-decode-execute cycle.
General Concepts of Computer Organization Overview of Microcomputer.
SKILL AREA: 1.2 MAIN ELEMENTS OF A PERSONAL COMPUTER.
Computer Architecture Memory, Math and Logic. Basic Building Blocks Seen: – Memory – Logic & Math.
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
Assessment Covering… Von Neuman architecture Registers – purpose and use, the fetch execute cycle.
CS 1308 Computer Literacy and the Internet. Objectives In this chapter, you will learn about:  The components of a computer system  Putting all the.
Computer Architecture2  Computers are comprised of three things  The physical computer  The operating system  The user and programs running on the.
Concepts of Engineering and Technology Copyright © Texas Education Agency, All rights reserved.
PARTS OF A COMPUTER 2 Hardware Computer Hardware is any of the physical parts of the computer you can touch. There are 4 categories: 1. Input Devices.
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.
Announcements Chapter 9 for today Chapter 11 was for Wednesday No clickers today Guest speaker on Monday Ian King from the Living Computer Museum 2/19/2016.
CSE 102 Introduction to Computer Engineering Central Processing Unit.
BY MANJU Lesson 21 Computer Hardware. System Components A computer system requires many components to do its job: Input: Device to input data so it can.
Computer Operation. Binary Codes CPU operates in binary codes Representation of values in binary codes Instructions to CPU in binary codes Addresses in.
Sara Naheed Amjad Information Technology
Computer Hardware What is a CPU.
Sara Naheed Amjad Information Technology
Chapter 9: Principle of Computer Operation
What Computers Can and Cannot Do
Control Unit Operation
Learning Objectives Explain what a software stack represents and how it is used Describe how the Fetch/Execute Cycle works, listing the five steps Understand.
More Devices: Control (Making Choices)
Computer Architecture
Following Instructions: Principles of Computer Operation
Review As binary, what is /20/2018
Announcement Tomorrow’s office hr: CANCELLED! Show work!!
Computer Basics/Algorithms
Computer Basics/Algorithms
INFO/CSE 100, Spring 2005 Fluency in Information Technology
INFO/CSE 100, Spring 2006 Fluency in Information Technology
Chapter 5: Computer Systems Organization
Announcement Function ppt: download again
Chapter 4 The Von Neumann Model
Presentation transcript:

Lawrence Snyder University of Washington, Seattle © Lawrence Snyder 2004 Remember Back To The Lightbot

10/18/2015© 2010 Larry Snyder, CSE22  Deterministically execute instructions to process information “Deterministically” means that when a computer chooses the next instruction to perform it is required by its construction to execute a specific instruction based only on the program and input it is given Computers have no free will and they are not cruel

10/18/2015© 2010 Larry Snyder, CSE33  Computer = instruction execution engine ▪ The fetch/execute cycle is the process that executes instructions  The computer internal parts implement this cycle Instruction Fetch (IF) Instruction Decode (ID) Data Fetch (DF) Instruction Execution (EX) Result Return (RR)

10/18/2015© 2010 Larry Snyder, CSE44 The Hard Disk (or Flash Memory) is the  -device Mouse Keyboard Scanner Hard Disk USB Mem Monitor Printer Speakers MemoryOutput ALUControlInput

10/18/2015© 2010 Larry Snyder, CSE55  Programs and their data must be in the memory while they are running Byte Addresses … 0 G 1 o 2 D 3 a 4 w 5 g 6 s 7 ! 8 ! byte=8 bits memory addresses memory contents Groups of four bytes are a word MemoryOutput ALUControlInput

10/18/2015© 2010 Larry Snyder, CSE66  Fetch/Execute cycle is hardwired in computer’s control; it’s the “engine” The instructions have the form ADDB 20, 10, Put in memory location 20 the contents of memory location 10 + contents of memory location 16 MemoryOutput ALUControlInput

10/18/2015© 2010 Larry Snyder, CSE77  Instructions tell where the data is, not what the data is … contents change One instruction has many effects ADDB 20, 10,

10/18/2015© 2010 Larry Snyder, CSE88  Instructions tell where the data is, not what the data is … contents change One instruction has many effects ADDB 20, 10,

10/18/2015© 2010 Larry Snyder, CSE99  Arithmetic/Logic Unit does the actual computing Most computers have only about a instructions hard wired Each type of data has its own separate instructions ADDB : add bytesADDBU: add bytes unsigned ADDH: add half wordsADDHU: add halves unsigned ADD: add wordsADDU: add words unsigned ADDS: add short decimal numbers ADDD: add long decimal numbers MemoryOutput ALUControlInput

10/18/2015© 2010 Larry Snyder, CSE10  Input units bring data to memory from outside world; output units send data to outside world from memory ▪Most peripheral devices are “dumb” meaning that the processor assists in their operation ▪Disks are memory devices because they can output information and input it back again MemoryOutput ALUControlInput

10/18/2015© 2010 Larry Snyder, CSE11  The program counter (PC) tells where the next instruction comes from ▪ Instructions are a word long, so add 4 to the PC to find the next instruction ADD 210,216,220AND 414,418,720 Program Counter: 112 OR688,724

Run Instruction: 2200: Add 800, 428, /18/2015© 2010 Larry Snyder, CSE12

10/18/2015© 2010 Larry Snyder, CSE13

10/18/2015© 2010 Larry Snyder, CSE14

10/18/2015© 2010 Larry Snyder, CSE15

10/18/2015© 2010 Larry Snyder, CSE16

10/18/2015© 2010 Larry Snyder, CSE17

10/18/2015© 2010 Larry Snyder, CSE18  The rate a computer “spins around” the Fetch/Execute cycle is controlled by it’s clock ▪ Current clocks run 2-3 GHz ▪ In principle, the computer should do one instruction per cycle, but often it fails to ▪ Modern processors try to do more than one instruction per cycle, and often succeed Clock rate is not a good indicator of speed

10/18/2015© 2010 Larry Snyder, CSE19

10/18/2015© 2010 Larry Snyder, CSE20 Jack Kilby, Mr. Integrated Circuits

10/18/2015© 2010 Larry Snyder, CSE21  Silicon, a semiconductor -- sometimes it conducts and sometimes it doesn’t ▪ It’s possible to control when semiconductors do and don’t conduct Ex.: AND 428, 884, 800 Send “yes” signal on wire Make semiconductor conduct if memory location 428 is true Detect presence/absence of “yes” Make semiconductor conduct if memory location 884 is true Compute by controlling conducting

10/18/2015© 2010 Larry Snyder, CSE22 A transistor has 3 wires Channel Gate  Charged objects are familiar -- use a nylon comb on a dry day ▪ A charged field can control whether ▪ a semiconductor conducts or not The charge of the control wire (gate) is key ▪ Neutral gate, channel doesn’t conduct ▪ Charged gate, channel conducts

10/18/2015© 2010 Larry Snyder, CSE23  The field-effect idea is implemented in metal-oxide-semiconductor transistors  Schematic in Si Wire Gate Insulator Channel Cross section view View from above Silicon Slice across chip, look end onFrom Above

10/18/2015© 2010 Larry Snyder, CSE24 10/18/2015© 2010 Larry Snyder, CSE24

 Check it out …  /18/2015© 2010 Larry Snyder, CSE25

10/18/2015© 2010 Larry Snyder, CSE26  Fetch/execute cycle runs instructions  5 steps to interpret machine instructions  Programs must be in the memory  Data is moved in and out of memory Instructions, data are represented in binary