Stored Program Concept Learning Objectives Learn the meaning of the stored program concept The processor and its components The fetch-decode-execute and.

Slides:



Advertisements
Similar presentations
Chapter 2: Data Manipulation
Advertisements

The CPU The Central Presentation Unit What is the CPU?
Machine cycle.
Computer Architecture and the Fetch-Execute Cycle
Central Processing Unit
The CPU. Parts of the CPU Control Unit Arithmetic & Logic Unit Registers.
Room: E-3-31 Phone: Dr Masri Ayob TK 2123 COMPUTER ORGANISATION & ARCHITECTURE Lecture 5: CPU and Memory.
Dale & Lewis Chapter 5 Computing components. Let’s design a computer Generic CPU with registers −Program counter (PC) – 5 bits (size of addresses) −Instruction.
GCSE Computing - The CPU
The Computer Processor
Computer Systems 1 Fundamentals of Computing The CPU & Von Neumann.
Lecture#14. Last Lecture Summary Memory Address, size What memory stores OS, Application programs, Data, Instructions Types of Memory Non Volatile and.
Internal hardware and external components of a computer Three-box Model  Processor The brain of the system Executes programs A big finite state machine.
Intermediate 2 Computing Computer structure. Organisation of a simple computer.
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.
Computer Architecture and the Fetch-Execute Cycle
Computer Architecture and the Fetch-Execute Cycle
Model Computer CPU Arithmetic Logic Unit Control Unit Memory Unit
General Concepts of Computer Organization Overview of Microcomputer.
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 Systems - Processor. Objectives To investigate and understand the structure and role of the processor.
Computer Studies/ICT SS2
Stored Programs In today’s lesson, we will look at: what we mean by a stored program computer how computers store and run programs what we mean by the.
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.
Stored Program A stored-program digital computer is one that keeps its programmed instructions, as well as its data, in read-write,
Dale & Lewis Chapter 5 Computing components
Structure and Role of a Processor
MICROPROCESSOR DETAILS 1 Updated April 2011 ©Paul R. Godin prgodin gmail.com.
The Processor & its components. The CPU The brain. Performs all major calculations. Controls and manages the operations of other components of the computer.
Jeremy R. Johnson William M. Mongan
8085 INTERNAL ARCHITECTURE.  Upon completing this topic, you should be able to: State all the register available in the 8085 microprocessor and explain.
Chapter 20 Computer Operations Computer Studies Today Chapter 20.
Lec 4-2 Five operations of the machine cycle Fetch- fetch the next program instruction from memory. (PC+1); instruction to IR Decode- decode the instruction.
Riyadh Philanthropic Society For Science Prince Sultan College For Woman Dept. of Computer & Information Sciences CS 251 Introduction to Computer Organization.
Chapter 12 Processor Structure and Function. Central Processing Unit CPU architecture, Register organization, Instruction formats and addressing modes(Intel.
CPU Lesson 2.
OCR GCSE Computer Science Teaching and Learning Resources
GCSE Computing - The CPU
GCSE OCR Computing A451 The CPU Computing hardware 1.
Chapter 10: Computer systems (1)
CS 286 Computer Architecture & Organization
Stored program concept
Edexcel GCSE Computer Science Topic 15 - The Processor (CPU)
Introduction to microprocessor (Continued) Unit 1 Lecture 2
Lesson Objectives A note about notes: Aims
Lecture on Microcomputer
Introduction of microprocessor
Components of Computer
Dr. Michael Nasief Lecture 2
CENTRAL PROCESSING UNIT CPU (microprocessor)
Instructions at the Lowest Level
Teaching Computing to GCSE
System Architecture 1 Chapter 2.
Fundamentals of Computer Organisation and Architecture
Systems Architecture I (CS ) Lecture 2: A Simplified Computer
Central Processing Unit
THE FETCH-EXECUTE CYCLE.
1-2 – Central Processing Unit
GCSE OCR 1 The CPU Computer Science J276 Unit 1
Basic components Instruction processing
A Level Computer Science Topic 5: Computer Architecture and Assembly
GCSE Computing - The CPU
THE FETCH-EXECUTE CYCLE.
Objectives Describe common CPU components and their function: ALU Arithmetic Logic Unit), CU (Control Unit), Cache Explain the function of the CPU as.
Register sets The register section/array consists completely of circuitry used to temporarily store data or program codes until they are sent to the.
Computer Operation 6/22/2019.
Computer Architecture
Little work is accurate
Computer Science. The CPU The CPU is made up of 3 main parts : Cache ALU Control Unit.
Presentation transcript:

Stored Program Concept Learning Objectives Learn the meaning of the stored program concept The processor and its components The fetch-decode-execute and the role of the registers within it Factors affecting processor performance

Stored Program concept Computer architectures Stored program concept  Proposed by John von Neumann and Alan Turing  A program must be resident in main memory to be executed  machine code instructions are fetched, one after another, from main memory in sequence and are executed, one at a time in the processor.

Stored Program concept Computer architectures Components of the Processor 1)Program Control Unit Fetches program instructions from memory, decodes them and executes them one a time 2) Arithmetic Logic Unit The ALU performs arithmetic and logical operations on data such as addition and subtraction, fixed point and floating point arithmetic, Boolean logic such as AND, OR< XOR and a range of shift operations.

Stored Program concept System Clock and Clock Speed  Timing signals that are used to regulate the rate at which instructions are executed  Used to synchronise the operation of various computer components.  Measured in megahertz (MHz) or gigahertz (GHz)  This frequency is known as clock speed.  Instructions required a set amount of clock ticks to execute.  The frequency of these ticks can be increased by frequency multiplying circuits to the rate that is required by the processor.  Clock ticks are provide to regulate the transfer of data, addressed and control signals along the busses at a slower rate than the processor.  Clock speeds double every year. Intel 8088 (1990 – 4.77MHz) 486 DX2 66 – 66Mhz (1994 est) Pentium – Up to 300 Mhz Pentium 4 up to 3-4 GHz Dual Core – Up to 6GHz Quad Core I3,I5,I7.

Stored Program concept General Purpose and dedicated registers General Purpose  Fast memory locations used to store data temporarily  Labelled as R1, R2.....Rn  Accessed with instructions such as LOAD, STORE and ADD

Stored Program concept General Purpose and dedicated registers Dedicated Registers 1)Stack Pointer (SP) Points to a stack holding return addresses, procedure or functional parameters, and local variables. It is accessed when a procedure or function is called or an interrupt is serviced. 2) Program Counter (PC) Points to the next instruction to be fetched and executed 3) Status Register Holds condition codes to indicate the outcome of operations e.g. Positive, negative, zero, interrupts enabled or overflow. 4) Accumulator (ACC) The result of the current set of calculations

Stored Program concept General Purpose and dedicated registers Dedicated Registers 5) Current Instruction register (CIR) Holds the current instruction to be executed while it is decoded and executed 6) Memory Address Register (MAR) Holds the address of the memory location currently being accessed by the processor. 7) Memory Buffer Register (MBR) Holds the data item being transferred to or from the memory location currently being accessed by the processor. Sometimes called the MDR (Memory Data Register)

Stored Program concept Computer architectures

Stored Program concept Computer architectures Watch the animation on how the Fetch Decode Execute Cycle works

Exercise Take the following commands and describe how the Fetch Decode Execute cycle works for each one. 101 LOAD SUB BRP LOAD STA BRA LOAD STA HLT