Title: Computer Operation Subject: Computer Studies EDD 5161 F Educational Communication & Technology.

Slides:



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

The Fetch – Execute Cycle
Machine cycle.
Computer Architecture and the Fetch-Execute Cycle
Stored Program Architecture
Central Processing Unit
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.
Room: E-3-31 Phone: Dr Masri Ayob TK 2123 COMPUTER ORGANISATION & ARCHITECTURE Lecture 5: CPU and Memory.
The processor and main memory chapter 4, Exploring the Digital Domain The Development and Basic Organization of Computers.
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.
1 TK6123: COMPUTER ORGANISATION & ARCHITECTURE Prepared By: Associate Prof. Dr Masri Ayob Lecture 6: CPU and Memory (1)
The Computer Processor
Lecture 13 - Introduction to the Central Processing Unit (CPU)
KEY COMPONENTS OF A COMPUTER SYSTEM ANDREW LOLAVAR.
CPU Fetch/Execute Cycle
CS 1308 Computer Literacy and the Internet Computer Systems Organization.
Session 3 Process and organize data 1. Terminology 2 For a list of computer and internet terminology, please see the.
Introduction to Computing Systems from bits & gates to C & beyond Chapter 4 The Von Neumann Model Basic components Instruction processing.
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
Introduction to Computing Systems from bits & gates to C & beyond The Von Neumann Model Basic components Instruction processing.
The CPU Central Processing Unit. 2 Reminder - how it fits together processor (CPU) memory I/O devices bus.
Computer Architecture Lecture 09 Fasih ur Rehman.
The Central Processing Unit (CPU) and the Machine Cycle.
Model Computer CPU Arithmetic Logic Unit Control Unit Memory Unit
D75P 34 – HNC Computer Architecture Week 1 Main Components Of A Processor © C Nyssen/Aberdeen College 2003 All images © C Nyssen /Aberdeen College unless.
Computer Science 101 Computer Systems Organization.
J. Stover, CSD-HS.  A computer is an electronic device that is programmed to accept data (input), process it into useful information (output), and store.
Fetch-execute cycle.
Computer Systems - Registers. Starter… Discuss in pairs the definition of the following Control Unit Arithmetic and Logic Unit Registers Internal clock.
Dale Roberts Department of Computer and Information Science, School of Science, IUPUI CSCI N305 Information Representation: Machine Instructions.
© GCSE Computing Candidates should be able to:  describe the characteristics of an assembler Slide 1.
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.
Computer Systems Organization
CS 1308 Computer Literacy and the Internet. Objectives In this chapter, you will learn about:  The components of a computer system  Putting all the.
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.
Dale & Lewis Chapter 5 Computing components
Structure and Role of a Processor
1 3 Computing System Fundamentals 3.2 Computer Architecture.
Chapter 20 Computer Operations Computer Studies Today Chapter 20.
Computer Operation. Binary Codes CPU operates in binary codes Representation of values in binary codes Instructions to CPU in binary codes Addresses in.
Logic Gates Dr.Ahmed Bayoumi Dr.Shady Elmashad. Objectives  Identify the basic gates and describe the behavior of each  Combine basic gates into circuits.
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.
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?
Chapter 10: Computer systems (1)
Lecture 13 - Introduction to the Central Processing Unit (CPU)
Components of Computer
Course Name: Computer Application Topic: Central Processing Unit (CPU)
IB Computer Science Topic 2.1.1
Teaching Computing to GCSE
The Processor and Machine Language
Functional Units.
COMS 161 Introduction to Computing
The Von Neumann Model Basic components Instruction processing
The Little Man Computer
Central Processing Unit
GCSE OCR 1 The CPU Computer Science J276 Unit 1
Basic components Instruction processing
A Top-Level View Of Computer Function And Interconnection
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 Architecture
Little work is accurate
Computer Science. The CPU The CPU is made up of 3 main parts : Cache ALU Control Unit.
Presentation transcript:

Title: Computer Operation Subject: Computer Studies EDD 5161 F Educational Communication & Technology

About the author … Name of student: Fok Yan Ming Student ID:

Introduction The target audience are form 4 students. This slide show will be presented as a lecture.

Computer Operation What can you find in a personal computer?

Input device Output device How about this case?

What can you find In my body ?

Central Processing Unit (CPU)  Control Unit (CU)  It coordinate machine activities.  Arithmetic and Logic Unit (ALU)  It performs data manipulation.  Memory Unit (This name is seldom used)  It accesses the main memory cells.

There are some components in each unit. Control UnitProgram Counter Instruction Register Instruction Decoder Arithmetic and Logic UnitAccumulator Status Register Logic Circuit Memory UnitMemory Data Register Memory Address Register Address Decoder

In Control Unit (CU)  Program counter (PC)  To hold the address of the next instruction.  Instruction register (IR)  To hold the instruction currently executed.  Instruction decoder  To decode the instruction.

Let’s see how the control unit works! Box 1 Box 2 Box 3 The Treasure Boxes Clean the board See the teacher Collect The forms Now the teacher give you three treasure boxes. Each box contain a command from the teacher. You cannot open the boxes or read the commands yourself. The monitor knows which box should be opened and the monitress reads the command inside the box.

Box 1 Box 2 Box 3 The Treasure Boxes Clean the board See the teacher Collect The forms Box 1 The monitor knows which box should be opened.

Box 1 Box 2 Box 3 The Treasure Boxes Clean the board See the teacher Collect The forms Box 1 The monitress reads the commands. Box 2 At the same time, the monitor prepares to show you the next box should be opened.

Box 1 Box 2 Box 3 The Treasure Boxes Clean the board See the teacher Collect The forms But you don’t know English! Oh! ?

Box 1 Box 2 Box 3 The Treasure Boxes Clean the board See the teacher Collect The forms 叫你擦黑板呀! 哦,我明白啦!

Box 1 Box 2 Box 3 The Treasure Boxes Clean the board See the teacher Collect The forms The monitor plays the role of Program Counter. The monitress plays the role of Instruction register. The translator plays the role of Instruction decoder.

Interpretation Main Memory Inp A Sto B End :::::::: 001 Program Counter Inp A Instruction Register Program Decoder

In Arithmetic & Logic Unit (ALU)  Accumulator (ACC)  To hold the result or intermediate result of the operation temporarily.  Status register (SR)  To hold the status flag which show the status of the content in the accumulator.  Logic circuit  To perform arithmetic and logic operation.

Accumulator The accumulator acts as the note pad. You can jot down the intermediate result (or final result) of your calculation. For example, when evaluating ( )  (2.4 – 1.8) You better jot the result ( ) and (2.4 – 1.8) on the note pad, right?

Status Register It describes the current status of the accumulator. When 0 or 1 is assigned to the flags in status register, the status can be shown.

For example, 9 Accumulator Status Register odd integer positivezero -2

Interpretation In this example, we only have four flags. You may imagine that if we have many flags…. we can describe the content in the accumulator accurately

 Memory Data register (MDR)  To hold the data or instruction to be stored in or fetched from main memory.  Memory Address register (MAR)  To hold the address of the memory location to be accessed.  Address Decoder  To location the memory cell whose address is stored in MAR. In Memory Unit

In the previous example about control unit, the instruction seems to be accessed directly. Actually, we must access the main memory via the MAR and MDR. Now lets see an demonstration.

Main Memory Inp A Sto B End :::::: 001 Program Counter Inp A Instruction Register MAR MDR Address Decoder 001 Inp A

Instruction decoder IRPC CU Logic circuit SR ACC ALU Address decoder MAR Memory Unit MDR The Central Processing Unit Summary

This is the end. Click the button to exit.