Week 2.  Understand what the processor is and what it does.  Execute basic LMC programs.  Understand how CPU characteristics affect performance.

Slides:



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

Machine cycle.
Computer Architecture and the Fetch-Execute 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.
Computer Organization. This module surveys the physical resources of a computer system. –Basic components CPUMemoryBus I/O devices –CPU structure Registers.
Processor Technology and Architecture
Chapter 4 Processor Technology and Architecture. Chapter goals Describe CPU instruction and execution cycles Explain how primitive CPU instructions are.
GCSE Computing - The CPU
 Central Processing Unit(CPU) Central Processing Unit(CPU)  Components of the CPU Components of the CPU  Actions Performed by CPU Actions Performed.
Introduction to computer: executes instructions. Overview Topics discussed in this webnote: –Structure and operation of the CPU –Program flow –Types of.
CPU Structure and Instruction Execution Timothy C. Rice Jr., MIT.
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.
The Computer Processor
Lecture 13 - Introduction to the Central Processing Unit (CPU)
Computer Structure.
Computer Organization Computer Organization & Assembly Language: Module 2.
Computer Systems 1 Fundamentals of Computing The CPU & Von Neumann.
Basic Microcomputer Design. Inside the CPU Registers – storage locations Control Unit (CU) – coordinates the sequencing of steps involved in executing.
Computing hardware CPU.
Central Processing Unit
Presented by: Sergio Ospina Qing Gao. Contents ♦ 12.1 Processor Organization ♦ 12.2 Register Organization ♦ 12.3 Instruction Cycle ♦ 12.4 Instruction.
Stack Stack Pointer A stack is a means of storing data that works on a ‘Last in first out’ (LIFO) basis. It reverses the order that data arrives and is.
The CPU Central Processing Unit. 2 Reminder - how it fits together processor (CPU) memory I/O devices bus.
Week 1 Computing GCSE.
Section one revision:1. Computer Systems To be able to Identify and describe computer systems To demonstrate an understanding of the Central Processing.
The Central Processing Unit (CPU) and the Machine Cycle.
Model Computer CPU Arithmetic Logic Unit Control Unit Memory Unit
Computer Science 101 Computer Systems Organization ALU, Control Unit, Instruction Set.
Fetch-execute cycle.
Computer Systems - Processor. Objectives To investigate and understand the structure and role of the processor.
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
Computer Structure & Architecture 7b - CPU & Buses.
Dale Roberts Department of Computer and Information Science, School of Science, IUPUI CSCI N305 Information Representation: Machine Instructions.
Electronic Analog Computer Dr. Amin Danial Asham by.
CPU The Central Processing Unit (CPU), has 3 main parts: Control Unit Arithmetic and Logic Unit Registers. These components are connected to the rest.
Excellence Publication Co. Ltd. Volume Volume 1.
System Unit Working of CPU. The CPU CPU The CPU CPU stands for central processing unit. it is brain of computer It is most important component of the.
Computer operation is of how the different parts of a computer system work together to perform a task.
HOW COMPUTERS WORK THE CPU & MEMORY. THE PARTS OF A COMPUTER.
The Central Processing Unit (CPU)
Question What technology differentiates the different stages a computer had gone through from generation 1 to present?
Computer Architecture Lecture 4 by Engineer A. Lecturer Aymen Hasan AlAwady 17/11/2013 University of Kufa - Informatics Center for Research and Rehabilitation.
CS61C L20 Datapath © UC Regents 1 Microprocessor James Tan Adapted from D. Patterson’s CS61C Copyright 2000.
CMSC 104, Lecture 061 Stored Programs A look at how programs are executed.
Chapter 2 Data Manipulation © 2007 Pearson Addison-Wesley. All rights reserved.
1 Basic Processor Architecture. 2 Building Blocks of Processor Systems CPU.
M211 – Central Processing Unit
1 3 Computing System Fundamentals 3.2 Computer Architecture.
3.1 Components. Overview Identify component parts of a typical home PC from a photograph or diagram.
BASIC COMPUTER ARCHITECTURE HOW COMPUTER SYSTEMS WORK.
3.1.4 Hardware a. describe the function and purpose of the control unit, memory unit and ALU (arithmetic logic unit) as individual parts of a computer;
GCSE Computing - The CPU
Computing Science Computer Structure: Lesson 1: Processor Structure
GCSE OCR Computing A451 The CPU Computing hardware 1.
The CPU, RISC and CISC Component 1.
Lecture 13 - Introduction to the Central Processing Unit (CPU)
THE CPU i Bytes 1.1.
Components of Computer
Teaching Computing to GCSE
Number Representations and Basic Processor Architecture
Central Processing Unit
GCSE OCR 1 The CPU Computer Science J276 Unit 1
GCSE Computing - The CPU
A Top-Level View Of Computer Function And Interconnection
WJEC GCSE Computer Science
Information Representation: Machine Instructions
Objectives Describe common CPU components and their function: ALU Arithmetic Logic Unit), CU (Control Unit), Cache Explain the function of the CPU as.
OCR GCSE (9-1) Computer Science (J276)
Computer Science. The CPU The CPU is made up of 3 main parts : Cache ALU Control Unit.
Presentation transcript:

Week 2

 Understand what the processor is and what it does.  Execute basic LMC programs.  Understand how CPU characteristics affect performance.

 A computer system is  made up of hardware and software components and is capable of:hardwaresoftware  data input - using input devices  data processing - using a microprocessor, typically the Central Processing Unit (CPU)Central Processing Unit  data output - using output devices  It may also be capable of:  data storage - so data can be stored for later use  data transmission - so data can be transferred to another computer system  As well as the personal computer, this definition applies to any equipment which uses computer technology.

What does the processor do?

 The purpose of the Central Processing Unit (CPU) is to carry out program instructions.  The function of the CPU can be broken down into a series of steps that are carried out in a continuous cycle.

 This involves retrieving an instruction from a memory address. The address of the instruction is stored in a register called the program counter (PC).register  After an instruction is fetched, the PC is updated so the CPU knows the address of the next instruction it has to fetch.

 This involves the CPU identifying the operation code (op-code) part of the instruction which tells it which operation to perform.  If the op-code requires the CPU to act on some data then the second part of the instruction will contain either the data or the memory address where the data is stored.

 In this step the parts of the CPU are connected that are needed to execute the instruction that was decoded.  For example, if the instruction involved integer arithmetic or logical operations then the arithmetic logic unit (ALU) would be connected to the relevant memory locations so that:  The data for the calculation can be passed along a data bus to the ALU as input.data bus  The ALU can execute the required operation  The result of the operation can then be passed from the ALU along a data bus as output.

 In this step the result of the execute step is either written to RAM or, if it is to be used by the next instruction, to one of the CPU registers.  Some types of instructions alter the program counter rather than produce result data. This allows programs to carry out iteration loops and conditional program execution rather than just stepping through the instructions in sequence.iteration loopsconditional  Some instructions change the state of single-bit flag registers. These TRUE/FALSE registers are used to indicate the result of an execute step, for example a flag can be set to TRUE if two numbers are compared and found to be equal or if a subtraction produces a zero or a negative result.

 ch/LMC/LMCHome.html ch/LMC/LMCHome.html  Run the applet.  Go through examples.  Work through worksheet 1, 2 and 3.  Complete LMC sheet 2  Research recent, commercially available CPU’s, and their characteristics, present your findings in a PPt.