Computer Organization & Assembly Language © by DR. M. Amer.

Slides:



Advertisements
Similar presentations
 2002 Prentice Hall Hardware Basics: Inside The Box Chapter 2.
Advertisements

Khaled A. Al-Utaibi  Computers are Every Where  What is Computer Engineering?  Design Levels  Computer Engineering Fields  What.
Computer Architecture & Organization
Microprocessor and Microcontroller Based Systems Instructor: Eng.Moayed N. EL Mobaied The Islamic University of Gaza Faculty of Engineering Electrical.
Introduction to Microprocessors Number Systems and Conversions No /6/00 Chapter 1: Introduction to 68HC11 The 68HC11 Microcontroller.
1 Introduction to computers Overview l · Grading Policy »Cheating Rules (serious concern) »Examinations and Fixation of Timings »Quizzes »Homework Assignments.
Computer Systems CS208. Major Components of a Computer System Processor (CPU) Runs program instructions Main Memory Storage for running programs and current.
Computer Organization and Architecture William Stallings 8 th Edition Chapter 1 Introduction.
CH01: Architecture & Organization 1 Architecture is those attributes visible to the programmer  Instruction set, number of bits used for data representation,
2 nd Year - 1 st Semester Asst. Lect. Mohammed Salim
Computer Architecture and Organization
Department of Computer and Information Science, School of Science, IUPUI Dale Roberts, Lecturer Computer Science, IUPUI CSCI.
William Stallings Computer Organization and Architecture 6 th Edition Chapter 1 Introduction.
E0001 Computers in Engineering1 The System Unit & Memory.
Introduction to Computing: Lecture 4
The Computer Systems By : Prabir Nandi Computer Instructor KV Lumding.
2007 Sept 06SYSC 2001* - Fall SYSC2001-Ch1.ppt1 Computer Architecture & Organization  Instruction set, number of bits used for data representation,
Chapter Two Hardware Basics: Inside the Box. ©1999 Addison Wesley Longman2.2 Chapter Outline What Computers Do A Bit About Bits The Computer’s Core: CPU.
Computer Architecture and Organization Introduction.
Computers organization & Assembly Language Chapter 0 INTRODUCTION TO COMPUTING Basic Concepts.
C++ Programming Language Lecture 1 Introduction By Ghada Al-Mashaqbeh The Hashemite University Computer Engineering Department.
The Central Processing Unit: What Goes on Inside the Computer
EKT 422 Computer Architecture
Chapter 1 Introduction. Architecture & Organization 1 Architecture is those attributes visible to the programmer —Instruction set, number of bits used.
Chapter 1 Introduction. Objectives To explain the definition of computer architecture To discuss the history of computers To describe the von-neumann.
Advanced Computer Architecture 0 Lecture # 1 Introduction by Husnain Sherazi.
Computer Organization - 1. INPUT PROCESS OUTPUT List different input devices Compare the use of voice recognition as opposed to the entry of data via.
General Concepts of Computer Organization Overview of Microcomputer.
Computer Architecture And Organization UNIT-II General System Architecture.
Introduction Computer System “An electronic device, operating under the control of instructions stored in its own memory unit, that can accept data (input),
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
Computer Architecture 2 nd year (computer and Information Sc.)
Computer Organization. The digital computer is a digital system that performs various computational tasks Digital computer use binary number system which.
Chapter 1 Introduction.  Architecture is those attributes visible to the programmer ◦ Instruction set, number of bits used for data representation, I/O.
Computer Systems. Bits Computers represent information as patterns of bits A bit (binary digit) is either 0 or 1 –binary  “two states” true and false,
The Computer System.
Chapter 2 Turning Data into Something You Can Use
William Stallings Computer Organization and Architecture Chapter 1 Introduction.
Computer Operation. Binary Codes CPU operates in binary codes Representation of values in binary codes Instructions to CPU in binary codes Addresses in.
1 Chapter 1 Basic Structures Of Computers. Computer : Introduction A computer is an electronic machine,devised for performing calculations and controlling.
Chapter 1 Introduction.   In this chapter we will learn about structure and function of computer and possibly nature and characteristics of computer.
Introduction to Computers - Hardware
William Stallings Computer Organization and Architecture 8th Edition
William Stallings Computer Organization and Architecture 7th Edition
UNIT 9 Computer architecture
CSNB COMPUTER SYSTEM CHAPTER 1 INTRODUCTION CSNB153 computer system.
COMPUTER ORGANIZATION & ASSEMBLY LANGUAGE
Computer Architecture
Architecture & Organization 1
General Architecture of Digital Computer
Architecture & Organization 1
BIC 10503: COMPUTER ARCHITECTURE
Microprocessor & Assembly Language
ECEG-3202 Computer Architecture and Organization
Text Book Computer Organization and Architecture: Designing for Performance, 7th Ed., 2006, William Stallings, Prentice-Hall International, Inc.
William Stallings Computer Organization and Architecture 8th Edition
William Stallings Computer Organization and Architecture 7th Edition
ECEG-3202 Computer Architecture and Organization
INTRODUCTION TO COMPUTER ARCHITECTURE
Chapter 1 Introduction.
COMS 361 Computer Organization
William Stallings Computer Organization and Architecture 8th Edition
William Stallings Computer Organization and Architecture 7th Edition
William Stallings Computer Organization and Architecture 7th Edition
Presentation transcript:

Computer Organization & Assembly Language © by DR. M. Amer

11/17/2015 Course Contents Introduction Introduction Computer Evolution and Performance Computer Evolution and Performance Top Level View of Computer Function and Interconnection Top Level View of Computer Function and Interconnection Computer basic units organization [Memory (Cache Memory - Internal & External Memory) – CPU] Computer basic units organization [Memory (Cache Memory - Internal & External Memory) – CPU] Computer cycles Computer cycles Input / Output devices Input / Output devices Interrupt handling Interrupt handling Microcontroller Microcontroller An Assembly Language is used in the lab. An Assembly Language is used in the lab.

Chapter Introduction 11/17/2015

What is a Computer? Computer Device capable of performing computations and making logical decisions Computers process data under the control of sets of instructions called computer programs Personal computers: economical enough for individual Distributed computing: computing distributed over networks Client/server computing: sharing of information across computer networks between file servers and clients (personal computers)

What is a Computer? (cont.) Computer Hardware Various devices comprising a computer: Keyboard, screen, mouse, disks, memory, CD- ROM, and processing units Hardware Trends: every year or two the following approximately double (Moore’s Law): Amount of memory in which to execute programs Amount of secondary storage (such as disk storage) Used to hold programs and data over the longer term Processor speeds The speeds at which computers execute their programs High-level Language Assembly Language Firmware Machine Code Hardware User Application Software OS

What is a Computer? (cont.) Computer Software Computer Programs that run on a computer, including Operation System (OS) Application Software Computer Language High-level Language Assembly Language Firmware Machine Code Hardware User Application Software OS

Moore's Law Defined by Dr. Gordon Moore during the sixties. Dr. Gordon Moore Dr. Gordon Moore Predicts an exponential increase in component density over time, with a doubling time of 18 months. Applicable to microprocessors, DRAMs, DSPs and other microelectronics.

Moore’s Law - Density

Moore's Law and Performance The performance of computers is determined by architecture and clock speed. Clock speed doubles over a 3 year period due to the scaling laws on chip. Processors using identical or similar architectures gain performance directly as a function of Moore's Law. Improvements in internal architecture can yield better gains than predicted by Moore's Law.

Moore’s Law - Clock Speed

Computer Organization A Typical Von-Neumann Architecture Example: 1. Input unit 2. Output unit 3. Memory unit 4. Arithmetic and logic unit (ALU) 5. Central processing unit (CPU) 6. Secondary storage unit Control Circuit (ex: PC: Program Counter) ALU MemoryI/O CPU

Computer Organization (cont.) Six logical units in every computer: 1. Input unit Obtains information from input devices (keyboard, mouse) 2. Output unit Outputs information (to screen, to printer, to control other devices) 3. Memory unit Rapid access, low capacity, stores input information ROM (Read Only Memory): CMOS, EPROM … RAM (Random Access Memory): SRAM, DRAM, SIMM, DIMM …

Computer Organization (cont.) Six logical units in every computer (cont): 3.Arithmetic and logic unit (ALU) – part of CPU Performs arithmetic calculations (addition, subtraction...) and logic decisions 4.Control unit (CU) - part of CPU Supervises and coordinates the other sections of the computer 5.Secondary storage unit Cheap, long-term, high-capacity storage Stores inactive programs

Computer Organization (cont.) Central Processing Unit (CPU), “brain” of a computer, consisting of Arithmetic and logic unit (ALU): performs arithmetic calculations (addition, subtraction...) and logic decisions (>,, <, =,...) Control Unit (CU): decodes each machine instruction and sends signal to other components for carrying out the instruction. An integrated circuit (IC) that is a full central processing unit is called a microprocessor (  p); a CPU’s current instruction and data values are stored temporally inside the CPU in special high-speed memory location called registers. CPU speed: ? MHz (M: Mega = 10 6, Hz=1/sec);

Computer Organization (cont.) Memory A large collection of circuits, each capable of storing bit Cells (words): manageable units; typical size is 8 bits (1 byte), some machines are 16 bits (2 bytes) and some are 32 bits or 64 bits Byte (8 bits), KB (kilobyte, 10 3  2 10 bytes), MB (Megabyte, 10 6  2 20 bytes), GB (Gigabyte, 10 9  2 30 bytes). Note: k ≠ K because 1000 ≠ 1024.

Computer Organization (cont.) Computer memory is comparable to a collection of numbered mailboxes. To identify individual cells in a machine’s main memory, each cell is assigned a unique name, called its address The organization of byte-size memory cell Hello, ASCII... Data Address Address Bus Data Bus Low-order endHigh-order end Least Significant Bit (LSB)Most Significant Bit (MSB)

Architecture & Organization 1 Architecture is those attributes visible to the programmer —Instruction set, number of bits used for data representation, I/O mechanisms, addressing techniques. —e.g. Is there a multiply instruction? Organization is how features are implemented —Control signals, interfaces, memory technology. —e.g. Is there a hardware multiply unit or is it done by repeated addition?

Architecture & Organization 2 All Intel x86 family share the same basic architecture The IBM System/370 family share the same basic architecture This gives code compatibility —At least backwards Organization differs between different versions

Structure & Function Structure is the way in which components relate to each other Function is the operation of individual components as part of the structure

Function All computer functions are: —Data processing —Data storage —Data movement —Control

Functional View

Operations (a) Data movement

Operations (b) Storage

Operation (c) Processing from/to storage

Operation (d) Processing from storage to I/O

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

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

Structure - The Control Unit CPU Control Memory Control Unit Registers and Decoders Sequencing Login Control Unit ALU Registers Internal Bus Control Unit