The processor and main memory chapter 4, Exploring the Digital Domain The Development and Basic Organization of Computers.

Slides:



Advertisements
Similar presentations
Components of a computer system
Advertisements

The CPU The Central Presentation Unit What is the CPU?
The Fetch – Execute Cycle
Machine cycle.
Chapter 1. Basic Structure of Computers
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.
The CPU. Parts of the CPU Control Unit Arithmetic & Logic Unit Registers.
CHAPTER 4 COMPUTER SYSTEM – Von Neumann Model
Chapter 0 Introduction to Computing
The CPU - Outline. Components of CPU Englander p
The central processing unit and main memory chapter 4, Exploring the Digital Domain The Development and Basic Organization of Computers.
Dale & Lewis Chapter 5 Computing components. Let’s design a computer Generic CPU with registers −Program counter (PC) – 5 bits (size of addresses) −Instruction.
6. The CPU and Memory Chapt. 7.
A-Level Computing#BristolMet Session Objectives#4 MUST describe the differences between the main types of primary memory SHOULD describe the function and.
The Computer Processor
Lecture 13 - Introduction to the Central Processing Unit (CPU)
CPU Fetch/Execute Cycle
Tools make jobs easier to do -A computer is a tool used by many professions A computer can do many different jobs because they are programmable - Machine.
Higher Computing Computer Systems S. McCrossan 1 Higher Grade Computing Studies 2. Computer Structure Computer Structure The traditional diagram of a computer...
Computer Science 210 Computer Organization The von Neumann Architecture.
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.
Introduction to Computing Systems from bits & gates to C & beyond The Von Neumann Model Basic components Instruction processing.
Chapter 4 The Von Neumann Model
Introduction to Computer Architecture. What is binary? We use the decimal (base 10) number system Binary is the base 2 number system Ten different numbers.
Model Computer CPU Arithmetic Logic Unit Control Unit Memory Unit
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 Systems - Registers. Starter… Discuss in pairs the definition of the following Control Unit Arithmetic and Logic Unit Registers Internal clock.
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
Computer Structure & Architecture 7b - CPU & Buses.
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.
Dale & Lewis Chapter 5 Computing components
Von Neumann Model Computer Organization I 1 September 2009 © McQuain, Feng & Ribbens The Stored Program Computer 1945: John von Neumann –
Computer operation is of how the different parts of a computer system work together to perform a task.
Structure and Role of a Processor
The Processor & its components. The CPU The brain. Performs all major calculations. Controls and manages the operations of other components of the computer.
1 3 Computing System Fundamentals 3.2 Computer Architecture.
Chapter 20 Computer Operations Computer Studies Today Chapter 20.
1 Chapter 1 Basic Structures Of Computers. Computer : Introduction A computer is an electronic machine,devised for performing calculations and controlling.
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;
Computer Operation What basic hardware components are inside a personal computer?
CPU Lesson 2.
OCR GCSE Computer Science Teaching and Learning Resources
Computing Science Computer Structure: Lesson 1: Processor Structure
Lecture 13 - Introduction to the Central Processing Unit (CPU)
Edexcel GCSE Computer Science Topic 15 - The Processor (CPU)
Computer Science 210 Computer Organization
The Central Processing Unit
Chapter 4 The Von Neumann Model
Computer Architecture
Chapter 4 The Von Neumann Model
System Architecture 1 Chapter 2.
The Processor and Machine Language
The Basic Organization of Computers T.Jeya M.Sc., M.Phil Assistant Professor, Department of CS, SAC Women’s College. Cumbum. Tamilnadu.
Computer Science 210 Computer Organization
Functional Units.
COMS 161 Introduction to Computing
Basic Computer Organization
Introduction to Computer Architecture
CPU Key Revision Points.
Chapter 5: Computer Systems Organization
The Little Man Computer
The Stored Program Computer
GCSE OCR 1 The CPU Computer Science J276 Unit 1
Basic components Instruction processing
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.
Computer Architecture
Computer Science. The CPU The CPU is made up of 3 main parts : Cache ALU Control Unit.
Presentation transcript:

the processor and main memory chapter 4, Exploring the Digital Domain The Development and Basic Organization of Computers

based on stored program design Processor memory input/output system –input/output devices –secondary storage Electronic Digital Computers Processor

manages the instruction-execution cycle FETCH – DECODE – EXECUTE coordinates the activities of other devices The Processor

(fast access) storage device for preserving binary data and instructions memory is divided into units or words each is usually a standard size or fixed- length each memory word has a unique address for random access Main Memory

Random Access Memory (RAM) –readable –writable –usually volatile (e.g., Dynamic RAM or DRAM) –general storage Read Only Memory (ROM) –readable –permanent –nonvolatile –special-purpose storage for data and instructions Main Memory

Temporary Holding Locations inside the Processor Let us talk about temporary holding locations inside the processor These locations can hold “address” or “data” or “instruction” while the same is being used For example, when we want to read the value stored at a memory location, we use an address This address is held in a processor register while it is being applied to the memory’s address decoding logic

The Processor and Main Memory

Some Registers PC: Always holds the address of the next instruction to be executed MAR: Always used by the processor when addressing the memory MDR: Data from the memory arrives here first IR: Instruction is held here while it is decoded and executed ACC: Scratch Register for ALU

Inside the Processor

memory address register memory address register Inside the Processor

memory address register memory address register memory data register memory data register Inside the Processor

memory address register memory address register memory data register memory data register program counter program counter Inside the Processor

memory address register memory address register instruction register instruction register memory data register memory data register program counter program counter Inside the Processor

memory address register memory address register instruction register instruction register memory data register memory data register program counter program counter arithmetic logic unit arithmetic logic unit Inside the Processor

memory address register memory address register instruction register instruction register memory data register memory data register program counter program counter accumulator (work register) accumulator (work register) arithmetic logic unit arithmetic logic unit Inside the Processor

memory address register memory address register instruction register instruction register memory data register memory data register program counter program counter accumulator (work register) accumulator (work register) arithmetic logic unit arithmetic logic unit system clock system clock Inside the Processor

1. address of the next instruction is transferred from PC to MAR 2. the instruction is located in memory 1. address of the next instruction is transferred from PC to MAR 2. the instruction is located in memory FETCH the instruction

3. instruction is copied from memory to MDR 3. instruction is copied from memory to MDR FETCH the instruction

instruction is transferred to and decoded in the IR instruction is transferred to and decoded in the IR DECODE the instruction

control unit sends signals to appropriate devices to cause execution of the instruction control unit sends signals to appropriate devices to cause execution of the instruction EXECUTE the instruction

Execute the Instruction The instruction is executed in the ALU ALU is a 2-input single output unit that can accept one or two operands and produce a result

Data Movement Operations –moving data from memory to the CPU –moving data from memory to memory –input and output Arithmetic and Logical Operations –integer arithmetic –comparing two quantities –shifting, rotating bits in a quantity –testing, comparing, and converting bits Types of Processor Operations

Program Control –starting a program –halting a program –skipping to other instructions –testing data to decide whether to skip over some instructions Types of Processor Operations