Computer Operation. Binary Codes CPU operates in binary codes Representation of values in binary codes Instructions to CPU in binary codes Addresses in.

Slides:



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

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.
EEE226 MICROPROCESSORBY DR. ZAINI ABDUL HALIM School of Electrical & Electronic Engineering USM.
Microprocessors. Microprocessor Buses Address Bus Address Bus One way street over which microprocessor sends an address code to memory or other external.
1.21 Introduction to microprocessors KUEU 2135 / KBEB 2193 Mikropemproses dan Sistemnya.
CSE115: Introduction to Computer Science I
Computer Systems. Computer System Components Computer Networks.
The Analytical Engine Module 6 Program Translation.
Stored Program Concept: The Hardware View
The processor and main memory chapter 4, Exploring the Digital Domain The Development and Basic Organization of Computers.
Chapter 4 Processor Technology and Architecture. Chapter goals Describe CPU instruction and execution cycles Explain how primitive CPU instructions are.
The central processing unit and main memory chapter 4, Exploring the Digital Domain The Development and Basic Organization of Computers.
Chapter 2: Impact of Machine Architectures What is the Relationship Between Programs, Programming Languages, and 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.
BA 471 Management Information Systems Hardware Basics.
 Central Processing Unit(CPU) Central Processing Unit(CPU)  Components of the CPU Components of the CPU  Actions Performed by CPU Actions Performed.
Chapter 2 System Unit Components Discovering Computers 2012: Chapter
The CPU The Central Presentation Unit Language Levels Fetch execute cycle Processor speed.
Computer Structure.
Copyright Jim Martin Computers Inside and Out Dr Jim Martin
Basic Microcomputer Design. Inside the CPU Registers – storage locations Control Unit (CU) – coordinates the sequencing of steps involved in executing.
1 More on Computer Components Computer switches Binary number system Inside the CPU Cache memory Types of RAM Computer buses Creating faster CPUs NEXT.
Lecture 8 Presented By Dr. Shazzad Hosain Asst. Prof. EECS, NSU.
Technology in Focus: Under the Hood
Information Representation: Machine Instructions
An Introduction to Computers August 12, 2008 Mrs. C. Furman.
Computer Systems Organization CS 1428 Foundations of Computer Science.
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.
Assembly Language A Brief Introduction. Unit Learning Goals CPU architecture. Basic Assembler Commands High level Programming  Assembler  Machine Language.
The Central Processing Unit (CPU) and the Machine Cycle.
CSCI 211 Intro Computer Organization –Consists of gates for logic And Or Not –Processor –Memory –I/O interface.
CHAPTER 4 The Central Processing Unit. Chapter Overview Microprocessors Replacing and Upgrading a CPU.
Computer Science 101 Computer Systems Organization.
Computer Organization & Assembly Language © by DR. M. Amer.
Computer Architecture Memory, Math and Logic. Basic Building Blocks Seen: – Memory – Logic & Math.
Lecture 7: 9/17/2002CS149D Fall CS149D Elements of Computer Science Ayman Abdel-Hamid Department of Computer Science Old Dominion University Lecture.
Represents different voltage levels High: 5 Volts Low: 0 Volts At this raw level a digital computer is instructed to carry out instructions.
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.
MICROOCESSORS AND MICROCONTROLLER:
Dale & Lewis Chapter 5 Computing components
Chapter 2 Turning Data into Something You Can Use
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.
1 Basic Processor Architecture. 2 Building Blocks of Processor Systems CPU.
Capability of processor determine the capability of the computer system. Therefore, processor is the key element or heart of a computer system. Other.
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.
CPUz 4 n00bz.
Chapter 20 Computer Operations Computer Studies Today Chapter 20.
Computer Systems Nat 4/5 Computing Science Computer Structure:
CPU Organisation & Operation
Edexcel GCSE Computer Science Topic 15 - The Processor (CPU)
COMPUTER ORGANIZATION & ASSEMBLY LANGUAGE
Lecture on Microcomputer
THE CPU i Bytes 1.1.
Chapter 2 – Computer hardware
Components of Computer
Computer Architecture
The Processor and Machine Language
عمارة الحاسب.
Edited by : Noor Alhareqi
Number Representations and Basic Processor Architecture
Edited by : Noor Alhareqi
Morgan Kaufmann Publishers Computer Organization and Assembly Language
Computers Inside and Out
GCSE OCR 1 The CPU Computer Science J276 Unit 1
A Level Computer Science Topic 5: Computer Architecture and Assembly
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 Science. The CPU The CPU is made up of 3 main parts : Cache ALU Control Unit.
Presentation transcript:

Computer Operation

Binary Codes CPU operates in binary codes Representation of values in binary codes Instructions to CPU in binary codes Addresses in binary codes

Computer Architecture Input unit Main Memory ALU Control unit Output unit Backing Store Control signal Data/ Instructions

CPU Silicon chip Millions of electronic components Very large scale Integrated Circuit Speed – MHz, GHz Pentium (Intel) PowerPC (Apple/Mac) M68000 (Motorola)

Computer Organization

Speeding up processing - Pipelining

Speed of CPU

CPU and Memory The CPU fetches instructions from memory, fetches(load) data from memory, and store data back in memory after calculation. Memory consists of a large number of locations each having a unique address Each location consists of 8 bits(1 byte) The number of bits representing the addresses determines the address space (e.g. 10 bit address  1024 locations (=1K) 20 bits  1 M(?), 32 bits  4 G (?))

Main Memory (RAM) Main Memory 10-bit Address (decimal)

Machine Instructions CPU can only understand and execute machine instructions that is designed when the chip is manufactured We call the language that CPU understands ‘ Machine Language ’ All ‘ High-level language ’ programs must be translated to machine instructions before executing (e.g. Pascal  compiler  machine instructions) The whole set of machine instructions for a CPU is called Instruction Set Different CPUs have different machine instruction sets

For example For I:=1 to 10 do Sum:=sum+I Pascal statements Machine instructions  Translated to.. Pascal compiler  

Assembly language Machine language is difficult to design, debug and understand Use abbreviations(short forms) to replace machine instructions One machine instr. corresponds to one assembly instruction  assembly language e.g  LDA sum

Components of control unit Program counter (PC) Instruction register (IR) Processor status word (PSW) Instruction Decoder

Components of ALU Accumulator Arithmetic and logic operations circuits Registers