CPU Registers PC Arith Logic Unit Bus Interface I/O Bridge System bus Memory bus Main Memory USB Controller Graphics Adapter Disk Controller I/O Bus Mouse.

Slides:



Advertisements
Similar presentations
Chapter 2: Data Manipulation
Advertisements

The CPU The Central Presentation Unit What is the CPU?
Machine cycle.
Microprocessor.  The CPU of Microcomputer is called microprocessor.  It is a CPU on a single chip (microchip).  It is called brain or heart of the.
DH2T 34 Computer Architecture 1 LO2 Lesson Two CPU and Buses.
The CPU. Parts of the CPU Control Unit Arithmetic & Logic Unit Registers.
CHAPTER 4 COMPUTER SYSTEM – Von Neumann Model
Professor Michael J. Losacco CIS 1110 – Using Computers System Unit Chapter 4.
Introduction to Computer Systems
Chapter 0 Introduction to Computing
Stored Program Concept: The Hardware View
6. The CPU and Memory Chapt. 7.
 Central Processing Unit(CPU) Central Processing Unit(CPU)  Components of the CPU Components of the CPU  Actions Performed by CPU Actions Performed.
Introduction Computer Hardware Jess 2006 The CPU.
Inside The CPU. Buses There are 3 Types of Buses There are 3 Types of Buses Address bus Address bus –between CPU and Main Memory –Carries address of where.
COMPONENTS OF THE SYSTEM UNIT
CPU Fetch/Execute Cycle
Basic Operational Concepts of a Computer
Computer Organization ANGELITO I. CUNANAN JR. 1. What is Computer?  An electronic device used for storing and processing data.  It is a machine that.
BLOCK DIAGRAM OF COMPUTER
Lesson 3 — How a Computer Processes Data
© Paradigm Publishing Inc. 2-1 Chapter 2 Input and Processing.
Computer Processing of Data
CPU Computer Hardware Organization (How does the computer look from inside?) Register file ALU PC System bus Memory bus Main memory Bus interface I/O bridge.
© Paradigm Publishing Inc. 2-1 Chapter 2 Input and Processing.
Chapter 2 The CPU and the Main Board  2.1 Components of the CPU 2.1 Components of the CPU 2.1 Components of the CPU  2.2Performance and Instruction Sets.
Introduction to Computing Systems from bits & gates to C & beyond The Von Neumann Model Basic components Instruction processing.
CPU Design. Introduction – The CPU must perform three main tasks: Communication with memory – Fetching Instructions – Fetching and storing data Interpretation.
Lesson 3 — How a Computer Processes Data Unit 1 — Computer Basics.
General Concepts of Computer Organization Overview of Microcomputer.
Computer Architecture Memory, Math and Logic. Basic Building Blocks Seen: – Memory – Logic & Math.
Fetch-execute cycle.
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
Computer Structure & Architecture 7b - CPU & Buses.
Electronic Analog Computer Dr. Amin Danial Asham by.
Academic PowerPoint Computer System – Architecture.
CPU The Central Processing Unit (CPU), has 3 main parts: Control Unit Arithmetic and Logic Unit Registers. These components are connected to the rest.
Lecture on Central Process Unit (CPU)
Computer operation is of how the different parts of a computer system work together to perform a task.
C HAPTER 4 OS: C OMPUTER O RGANIZATION TOPICS: The Von Neumann Architecture The CPU.
Question What technology differentiates the different stages a computer had gone through from generation 1 to present?
CS61C L20 Datapath © UC Regents 1 Microprocessor James Tan Adapted from D. Patterson’s CS61C Copyright 2000.
Chapter 2.
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.
Programming in the Context of a Typical Computer Computer Studies Created by Rex Woollard.
Chapter 2 Data Manipulation © 2007 Pearson Addison-Wesley. All rights reserved.
1 Basic Processor Architecture. 2 Building Blocks of Processor Systems CPU.
1 3 Computing System Fundamentals 3.2 Computer Architecture.
Chapter 20 Computer Operations Computer Studies Today Chapter 20.
E LEMENTS OF C OMPUTER P ROCESSING S YSTEM. W HAT IS COMPUTER ? Electronic device used to store, retrieve, and manipulate the data.
IC 3 BASICS, Internet and Computing Core Certification Computing Fundamentals Lesson 2 How Does a Computer Process Data?
Operating Systems A Biswas, Dept. of Information Technology.
1 Chapter 1 Basic Structures Of Computers. Computer : Introduction A computer is an electronic machine,devised for performing calculations and controlling.
Chapter 3 Getting Started. Copyright © 2005 Pearson Addison-Wesley. All rights reserved. Objectives To give an overview of the structure of a contemporary.
Inside a Computer. Computer Hardware/Software What is the difference? Computer Hardware.
Systems Architecture Keywords Fetch Execute Cycle
Computer Hardware – System Unit
System unit Performed by Bektasova P.S. Checked by Sultanova Zh.Zh.
Course Name: Computer Application Topic: Central Processing Unit (CPU)
CS703 - Advanced Operating Systems
Microcomputer Architecture
Computer Architecture
Motherboard and its component What is Motherboard? Location Function.
Number Representations and Basic Processor Architecture
Functional Units.
Introduction to Computer Systems
INTRODUCTION TO COMPUTERS
GCSE OCR 1 The CPU Computer Science J276 Unit 1
Hardware Organization
Objectives Describe common CPU components and their function: ALU Arithmetic Logic Unit), CU (Control Unit), Cache Explain the function of the CPU as.
Presentation transcript:

CPU Registers PC Arith Logic Unit Bus Interface I/O Bridge System bus Memory bus Main Memory USB Controller Graphics Adapter Disk Controller I/O Bus Mouse Keyboard Monitor Disk Expansion Slots

CPU Registers PC Arith Logic Unit Bus Interface I/O Bridge System bus Memory bus Main Memory USB Controller Graphics Adapter Disk Controller I/O Bus Mouse Keyboard Monitor Disk Expansion Slots CPU – Central Processing Unit interprets and executes instructions. Buses – electrical conduits which carry bytes (based on word size) between components. Main Memory – temporary storage for the program instructions and its static, automatic, and dynamic memory

CPU Registers PC Arith Logic Unit Bus Interface I/O Bridge System bus Memory bus Main Memory USB Controller Graphics Adapter Disk Controller I/O Bus Mouse Keyboard Monitor Disk Expansion Slots I/O devices such as mouse, keyboard, monitor, and disk are connected to the I/O bus via controllers or adapters. Controllers are typically on the computer’s motherboard; whereas, adapters are separate boards.

CPU Registers PC Arith Logic Unit Bus Interface I/O Bridge System bus Memory bus Main Memory USB Controller Graphics Adapter Disk Controller I/O Bus Mouse Keyboard Monitor Disk Expansion Slots Program Counter (PC) is a special register containing the address of the next instruction to execute. Arithmetic Logic Unit (ALU) performs computations, comparisons, logic, and shifts. Registers are used as high-speed intermediate memory accessible by the ALU.

CPU Registers PC Arith Logic Unit Bus Interface I/O Bridge System bus Memory bus Main Memory USB Controller Graphics Adapter Disk Controller I/O Bus Mouse Keyboard Monitor Disk Expansion Slots The CPU interprets machine instructions (from programs which are in main memory). Some categories of instructions: Loadload registers from a copy of data in main memory or other registers Storestore from a copy of data in registers to main memory

CPU Registers PC Arith Logic Unit Bus Interface I/O Bridge System bus Memory bus Main Memory USB Controller Graphics Adapter Disk Controller I/O Bus Mouse Keyboard Monitor Disk Expansion Slots The CPU interprets machine instructions (from programs which are in main memory). Some categories of instructions (continued): Operateexecute arithmetic, comparisons, logic or shifts using data in registers, storing the result in a register Jumpbranch to an address within a program by changing the PC

CPU Registers PC Arith Logic Unit Bus Interface I/O Bridge Main Memory USB Controller Graphics Adapter Disk Controller I/O Bus Mouse Keyboard Monitor Disk Expansion Slots User types./add Shell causes each keystroke to be brought into a register as it is captured.

CPU Registers PC Arith Logic Unit Bus Interface I/O Bridge Main Memory USB Controller Graphics Adapter Disk Controller I/O Bus Mouse Keyboard Monitor Disk Expansion Slots Shell stores what the user types in Main Memory as he/she types it

CPU Registers PC Arith Logic Unit Bus Interface I/O Bridge Main Memory USB Controller Graphics Adapter Disk Controller I/O Bus Mouse Keyboard Monitor Disk Expansion Slots When user presses enter, the shell makes a request to load the./add2 program into memory. Determining to load./add2 takes steps which we are not showing

CPU Registers PC Arith Logic Unit Bus Interface I/O Bridge Main Memory USB Controller Graphics Adapter Disk Controller I/O Bus Mouse Keyboard Monitor Disk Expansion Slots Execution begins with the Program Counter (PC) set to the beginning address of the program.

CPU Registers PC Arith Logic Unit Bus Interface I/O Bridge Main Memory USB Controller Graphics Adapter Disk Controller I/O Bus Mouse Keyboard Monitor Disk Expansion Slots The CPU fetches an operation at the address in the PC. It then Decodes the instruction to understand the operation and its operands. If necessary, fetches the operands Increments the PC past the instruction Executes the operation

CPU Registers PC Arith Logic Unit Bus Interface I/O Bridge Main Memory USB Controller Graphics Adapter Disk Controller I/O Bus Mouse Keyboard Monitor Disk Expansion Slots It loads 10 and 20 into registers based on separate instructions.

CPU Registers PC Arith Logic Unit Bus Interface I/O Bridge Main Memory USB Controller Graphics Adapter Disk Controller I/O Bus Mouse Keyboard Monitor Disk Expansion Slots Based on another instruction, the ALU adds 10 to 20, storing the result in a that register.

CPU Registers PC Arith Logic Unit Bus Interface I/O Bridge Main Memory USB Controller Graphics Adapter Disk Controller I/O Bus Mouse Keyboard Monitor Disk Expansion Slots Another instruction causes 30 to be written in main memory. 30

CPU Registers PC Arith Logic Unit Bus Interface I/O Bridge Main Memory USB Controller Graphics Adapter Disk Controller I/O Bus Mouse Keyboard Monitor Disk Expansion Slots Another instruction causes 30 to be displayed on the monitor by taking the value from memory and sending it to the graphics adapter.