Computer Organization

Slides:



Advertisements
Similar presentations
Chapter 2: Data Manipulation
Advertisements

The CPU The Central Presentation Unit What is the CPU?
CSC 3210 Computer Organization and Programming Introduction and Overview Dr. Anu Bourgeois.
© 2008 Wayne Wolf Overheads for Computers as Components 2nd ed. Instruction sets Computer architecture taxonomy. Assembly language. 1.
CPS 101 Introduction to Computational Science Wensheng Shen Department of Computational Science SUNY Brockport.
Midterm Wednesday Chapter 1-3: Number /character representation and conversion Number arithmetic Combinational logic elements and design (DeMorgan’s Law)
CIS 314 : Computer Organization Lecture 1 – Introduction.
Processor Types And Instruction Sets Barak Perelman CS147 Prof. Lee.
Computer Organization and Assembly language
Computers Central Processor Unit. Basic Computer System MAIN MEMORY ALUCNTL..... BUS CONTROLLER Processor I/O moduleInterconnections BUS Memory.
Lecture 13 - Introduction to the Central Processing Unit (CPU)
School of Computer Science G51CSA 1 Computer Systems Architecture Guoping Qiu School of Computer Science The University of Nottingham
The CPU Central Processing Unit. 2 Reminder - how it fits together processor (CPU) memory I/O devices bus.
IAS By : Hajer Ahmed Mohammed. ENIAC - details Decimal (not binary) Its memory contained 20 accumulators of 10 digits. 10 vacuum tubes represented each.
Chapter 8: The Very Simple Computer
General Concepts of Computer Organization Overview of Microcomputer.
The structure COMPUTER ARCHITECTURE – The elementary educational computer.
Computer Architecture And Organization UNIT-II General System Architecture.
Computer Evolution. ENIAC - background Electronic Numerical Integrator And Computer Eckert and Mauchly University of Pennsylvania Trajectory tables for.
Computer Architecture Memory, Math and Logic. Basic Building Blocks Seen: – Memory – Logic & Math.
Computer Architecture 2 nd year (computer and Information Sc.)
CSC 235 Computer Organization. Computer Organizaton ä Top_Level Structure ä The von-Neumann Machine ä Stack Machine ä Accumulator Machine ä Load/Store.
Assessment Covering… Von Neuman architecture Registers – purpose and use, the fetch execute cycle.
Computer Organization CDA 3103 Dr. Hassan Foroosh Dept. of Computer Science UCF © Copyright Hassan Foroosh 2002.
Dale & Lewis Chapter 5 Computing components
Chapter 5: Computer Systems Design and Organization Dr Mohamed Menacer Taibah University
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.
CMSC 104, Lecture 061 Stored Programs A look at how programs are executed.
1 Chapter 2 Computer Evolution and Performance by Sameer Akram.
Chapter 2 Data Manipulation © 2007 Pearson Addison-Wesley. All rights reserved.
The Processor & its components. The CPU The brain. Performs all major calculations. Controls and manages the operations of other components of the computer.
Computer Architecture
Riyadh Philanthropic Society For Science Prince Sultan College For Woman Dept. of Computer & Information Sciences CS 251 Introduction to Computer Organization.
William Stallings Computer Organization and Architecture 6th Edition
CPU Lesson 2.
COURSE OUTCOMES OF Microprocessor and programming
The Stored Program Computer
Basic Processor Structure/design
Central Processing Unit Architecture
Computer Architecture
Computer Design & Organization
Lecture on Microcomputer
Components of Computer
Computer Architecture and Organization
Computer Architecture
The Processor and Machine Language
Computer Organization
Number Representations and Basic Processor Architecture
Komponen Dasar Sistem Komputer
CSCI 4717/5717 Computer Architecture
T Computer Architecture, Autumn 2005
Overview of Computer Architecture and Organization
Ghifar Parahyangan Catholic University August 22, 2011
Chapter 5: Computer Systems Organization
Computer Architecture
What is Computer Architecture?
What is Computer Architecture?
What is Computer Architecture?
GCSE OCR 1 The CPU Computer Science J276 Unit 1
CPU Structure CPU must:
CPU Structure and Function
Computer Evolution and Performance
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 Assembly Language
CSE378 Introduction to Machine Organization
COMPUTER ARCHITECTURE
Presentation transcript:

Computer Organization CSC 235 Computer Organization

Computer Organizaton Top_Level Structure The von-Neumann Machine Microprocessors Machine Architecture Types Stack Machine Accumulator Machine Load/Store Machine Register/Memory Machine Assemblers

Top Level Structure Input/Output Main Memory Central Processing Unit (CPU) System Interconnection (Bus)

Structure - Top Level Computer Peripherals Central Main Processing Unit Main Memory Computer Systems Interconnection Input Output Communication lines

Structure - The CPU CPU Arithmetic Computer and Registers Logic Unit I/O System Bus CPU Internal CPU Interconnection Memory Control Unit

von Neumann Machine

The von Neumann Machine Stored Program concept Main memory storing programs and data ALU operating on binary data Control unit interpreting instructions from memory and executing (asynchronous, no “clock”) Input and output equipment operated by control unit Princeton Institute for Advanced Studies IAS Completed 1952

Structure of von Neumann machine Arithmetic and Logic Unit Input Output Equipment Main Memory Program Control Unit

IAS - details 1000 x 40 bit words Binary number 2 x 20 bit instructions Set of registers (storage in CPU) Memory Buffer Register (general purpose data register) Memory Address Register Instruction Register (opcode) Instruction Buffer Register (next instruction) Program Counter Accumulator Multiplier Quotient

Structure of IAS - detail Central Processing Unit Arithmetic and Logic Unit Accumulator MQ Arithmetic & Logic Circuits Input Output Equipment MBR Instructions & Data Main Memory IBR PC MAR IR Control Circuits Address Program Control Unit

The execution cycle PC = 0; // program counter initialized Do { INSTRUCTION = MEMORY[PC]; PC++; DECODE(INSTRUCTION); FETCH(OPERANDS); EXECUTE; STORE(RESULTS); } WHILE (INSTRUCTION != HALT)

Microprocessors IAS machine Modern computers vacuum tubes Transistors (since the early 1970’s) VLSI (very large scale integration) Complexity increasing at a constant rate Moore’s Law

Intel 8008 (1971)

Intel 8008 Block Diagram 8 bits 3100 Transistors 1971

Microprocessor Evolution

Machine Architecture Types Stack Machine Accumulator Machine Load/Store Machine Register/Memory Machine

The Stack Machine Stack holds instruction operands All operations use the top of Stack. Operands are on top of stack Operation pops its operands from the top of stack. Operation is performed The result is pushed back on the top of stack (see next slide).

x = a + b; Push a; // fetch a from memory and push it onto stack Push b; // fetch b from memory and push it onto stack Add // pop top two values from top of stack, add them and push result onto stack Store x // pop top value off stack and put it in memory location for x

Accumulator Machines One operand is in the special register called the accumulator The other operand (if any) is found in memory The operation is performed and the result is left in the accumulator

x = a + b; Load a; // fetch a from memory and put in accumulator add b; // fetch b from memory and and add it to the accumulator leaving the answer in the accumulator Store x // copy accumulator to memory location for x

Load/Store Machines Each operand is in a register The operation is performed using the appropriate registers The result is put in a register Often used in RISC machines Reduced Instruction Set Computers

Load/Store Machines Power PC (Apple/IBM) ARM MIPS SPARC (Sun Microsystems)

Load/Store Example x = a + b move a, r0 // r0 = a move b, r1 // r1 = b add r0, r1 // r1 = r0 + r1 move r1, x // x = r1

Register/Memory Machine Operands may by in registers, in memory, or in a combination The result may be put in either a register or a memory location Often used in CISC machines Complex Instruction Set Computers

Register/Memory Machines IBM System/360 VAX Motorola 68000 Intel 80x86

Register/Memory Example x = a + b move r0, a // r0 = a add r0, b // r0= a + b move x, r0 // x= r0

Assemblers All code/data is in binary Hard for humans to understand Assemblers allow mnemonics to be used Assemblers allow names for memory locations Assemblers allow labels to used on instructions Different machines have different assemblers Single machine can have different assemblers This is the case for x86 on Windows and Unix!