Computers organization & Assembly Language Chapter 0 INTRODUCTION TO COMPUTING Basic Concepts.

Slides:



Advertisements
Similar presentations
Chapter 1 An Introduction To Microprocessor And Computer
Advertisements

The Central Processing Unit: What Goes on Inside the Computer.
Lecture 01: Introduction to Microcomputer & Embedded Systems.
Khaled A. Al-Utaibi  Computers are Every Where  What is Computer Engineering?  Design Levels  Computer Engineering Fields  What.
Chapter 5: Computer Systems Organization Invitation to Computer Science, Java Version, Third Edition.
Chapter 0 Introduction to Computing
Data Manipulation Computer System consists of the following parts:
Computer Organization and Assembly language
1 Chapter 4 The Central Processing Unit and Memory.
0 What is a computer?  Simply put, a computer is a sophisticated electronic calculating machine that:  Accepts input information,  Processes the information.
5.1 Chaper 4 Central Processing Unit Foundations of Computer Science  Cengage Learning.
Chapter 17 Microprocessor Fundamentals William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper.
Computers Are Your Future Eleventh Edition Chapter 2: Inside the System Unit Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall1.
Chapter 4  Converts data into information  Control center  Set of electronic circuitry that executes stored program instructions  Two parts ◦ Control.
Processing Devices.
Chapter 1 Introduction. Computer Architecture selecting and interconnecting hardware components to create computers that meet functional, performance.
Introduction Part 1 The Microprocessor Based Systems  Memory and I/O System  Microprocessor.
C.S. Choy95 COMPUTER ORGANIZATION Logic Design Skill to design digital components JAVA Language Skill to program a computer Computer Organization Skill.
INTRODUCTION TO MICROPROCESSORS
Chapter 4 The System Unit: Processing and Memory Prepared by : Mrs. Sara salih.
Basic Microcomputer Design. Inside the CPU Registers – storage locations Control Unit (CU) – coordinates the sequencing of steps involved in executing.
Computers Central Processor Unit. Basic Computer System MAIN MEMORY ALUCNTL..... BUS CONTROLLER Processor I/O moduleInterconnections BUS Memory.
E0001 Computers in Engineering1 The System Unit & Memory.
3 1 3 C H A P T E R Hardware: Input, Processing, and Output Devices.
GRAP 3175 Computer Applications for Drafting Unit II Computer Hardware.
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.
CS 1308 Computer Literacy and the Internet Computer Systems Organization.
CPU Computer Hardware Organization (How does the computer look from inside?) Register file ALU PC System bus Memory bus Main memory Bus interface I/O bridge.
Chapter 5: Computer Systems Organization Invitation to Computer Science, Java Version, Third Edition.
Computers Are Your Future Eleventh Edition Chapter 2: Inside the System Unit Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall1.
Chapter 2 The CPU and the Main Board  2.1 Components of the CPU 2.1 Components of the CPU 2.1 Components of the CPU  2.2Performance and Instruction Sets.
The Central Processing Unit: What Goes on Inside the Computer
Chapter 1 Introduction. Architecture & Organization 1 Architecture is those attributes visible to the programmer —Instruction set, number of bits used.
1Copyright © Prentice Hall 2000 The Central Processing Unit Chapter 3 What Goes on Inside the Computer.
Advanced Computer Architecture 0 Lecture # 1 Introduction by Husnain Sherazi.
Introduction to Computer Architecture. What is binary? We use the decimal (base 10) number system Binary is the base 2 number system Ten different numbers.
Computer Organization - 1. INPUT PROCESS OUTPUT List different input devices Compare the use of voice recognition as opposed to the entry of data via.
Introduction to Computer Architecture. What is binary? We use the decimal (base 10) number system Binary is the base 2 number system Ten different numbers.
General Concepts of Computer Organization Overview of Microcomputer.
CHAPTER 4 The Central Processing Unit. Chapter Overview Microprocessors Replacing and Upgrading a CPU.
Computer Organization & Assembly Language © by DR. M. Amer.
The Microprocessor-based PC System Microprocessor Course Electrical Engineering Department University of Indonesia.
CSCI-100 Introduction to Computing Hardware Part I.
Introduction to Microprocessors
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
Chapter Overview Microprocessors Replacing and Upgrading a CPU.
CS 1308 Computer Literacy and the Internet. Objectives In this chapter, you will learn about:  The components of a computer system  Putting all the.
Computer and Information Sciences College / Computer Science Department CS 206 D Computer Organization and Assembly Language.
Chapter 5: Computer Systems Design and Organization Dr Mohamed Menacer Taibah University
THE MICROPROCESSOR A microprocessor is a single chip of silicon that performs all of the essential functions of a computer central processor unit (CPU)
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.
Basic Concepts Computer Organization & Assembly Language Programming Instructor: Maram Alsahafi [Some of the contents Adapted from slides Dr Adnan Gutub,
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.
Overview of microcomputer structure and operation
Computers Are Your Future Eleventh Edition Chapter 2: Inside the System Unit Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall1.
Lecture # 10 Processors Microcomputer Processors.
Chapter 2 content Basic organization of computer What is motherboard
Chapter 2.
The Central Processing Unit
Introduction to Computer Architecture
INTRODUCTION TO MICROPROCESSORS
Basic Computer Organization
General Architecture of Digital Computer
Microprocessor & Assembly Language
Morgan Kaufmann Publishers Computer Organization and Assembly Language
Chapter 5: Computer Systems Organization
Presentation transcript:

Computers organization & Assembly Language Chapter 0 INTRODUCTION TO COMPUTING Basic Concepts

Introduction to Computing Numbering and Coding Systems. Inside the Computer. Brief History of the CPU. Computers organization & Assembly Language 2

Some Important Terminology How much memory? a bit is a binary digit that can have the value 0 or 1. A byte is defined as 8 bits. A nibble is half a byte, or 4 bits. A word is two bytes, or 16 bits. A kilobyte (K) is 2 10 bytes, which is 1024 bytes. A megabyte (meg) is 2 20 bytes or 1024 K. A gigabyte is 2 30 bytes or 1024 meg. A terabyte is 2 40 bytes or 1024 gig. 3 Computers organization & Assembly Language

Inside the Computer Two types of memory used in microcomputers are RAM and ROM. RAM –RAM stands for random access memory (called read/write memory). –RAM is used by the computer for temporary storage of programs that it is running. –RAM is sometimes called volatile memory. ROM –ROM stands for read-only memory. It contains programs and information essential to operation of the computer. –It is called nonvolatile memory. 4 Computers organization & Assembly Language

Inside the Computer Cache – A very fast type of RAM that is used to store information that is most frequently or recently used by the computer –Recent computers have 2-levels of cache; the first level is faster but smaller in size (usually called internal cache), and the second level is slower but larger in size (external cache). Introduction to Microprocessors & Assembly Language 5

Typical Memory Hierarchy Introduction to Microprocessors & Assembly Language 6 Microprocessor Registers L1 Cache L2 Cache Memory Disk, Tape, etc Memory Bus I/O Bus Faster Bigger

Memory Ordered sequence of bytes – –The sequence number is called the memory address Byte addressable memory – –Each byte has a unique address – –Supported by almost all processors Physical address space – –Determined by the address bus width – –Pentium has a 32-bit address bus Physical address space = 4GB = 2 32 bytes – –Itanium with a 64-bit address bus can support Up to 2 64 bytes of physical address space

Address Space Address Space is the set of memory locations (bytes) that can be addressed

The Need for a Memory Hierarchy Widening (expand) speed gap between CPU and main memory – –Processor operation takes less than 1 ns – –Main memory requires more than 50 ns to access Each instruction involves at least one memory access – –One memory access to fetch the instruction – –Additional memory accesses for instructions involving memory data access Memory bandwidth limits the instruction execution rate Cache memory can help bridge the CPU-memory gap Cache memory is small in size but fast

Internal organization of computers 10 Computers organization & Assembly Language

Internal organization of computers CPU (Central Processing Unit). Its function is to execute (process) information stored in memory. I/O (Input/Output) Devices. They provide a means of communicating with the CPU. A Bus is a common group of wires that interconnect components in a computer system. The buses that interconnect the sections of a computer system transfer address, data, and control information between the microprocessor and its memory and I/O systems. 11 Computers organization & Assembly Language

Internal organization of computers The address bus requests a memory location from the memory or an I/O location from the I/O devices. If I/O is addressed, the address bus contains a 16-bit I/O address from 0000H through FFFFH. The data bus transfers information between the microprocessor and its memory and I/O address space. Data transfers vary in size, from 8 bits wide to 64 bits wide in various members of the Intel microprocessor family. The control bus contains lines that select the memory or I/O and cause them to perform a read or write operation. 12 Computers organization & Assembly Language

CPU Memory Interface Address Bus – –Memory address is put on address bus – –If memory address = m bits then 2 m locations are addressed Data Bus: b-bit bi-directional bus – –Data can be transferred in both directions on the data bus – –Note that b is not necessary equal to w or s. So data transfers might take more than a single cycle (if w > b). Control Bus – –Signals control transfer of data – –Read request – –Write request – –Complete transfer

Brief History of the CPU The heart of the computer system is the microprocessor integrated circuit. The microprocessor, sometimes referred to as the CPU is the controlling element in a computer system. The microprocessor controls memory and I/O through a series of connections called buses. The microprocessor performs three main tasks for the computer system: 1.data transfer between itself and the memory or I/O systems. 2.simple arithmetic and logic operations. 3.program flow via simple decisions. Albeit these are simple tasks, but through them, the microprocessor performs virtually any series of operations or tasks. 14 Computers organization & Assembly Language

 Processor consists of  Datapath  ALU  Registers  Control unit  ALU  Performs arithmetic and logic instructions  Control unit (CU)  Generates the control signals required to execute instructions  Implementation varies from one processor to another Processor (CPU)

Brief History of the CPU 8080: The world’s first 8-bit general-purpose microprocessor. 8086: A far more powerful, 16-bit machine : This extension of the 8086 with memory 16-MByte : Intel’s first 32-bit machine, 80486: Full cache technology and sophisticated instruction pipelining. Pentium: Intel introduced the use of superscalar tech­niques. Pentium Pro: Move into superscalar organization. Pentium II: The Pentium II incorporated Intel MMX technology. Pentium III: Additional FP instructions to support 3D graphics. Pentium 4: Additional FP and other en­hancements for multimedia. Itanium: This new generation of Intel processor makes use of a 64-bit organi­zation with the IA-64 architecture. 16 Computers organization & Assembly Language

Brief History of the CPU 17 Computers organization & Assembly Language

CISC and RISC CISC refers to Complex Instruction Set Computer. CISC key features: –Large and complex instruction set –Large instruction sets –More addressing modes –Variable width instructions –Requires microcode interpreter Each instruction is decoded into a sequence of micro-operations –Example: Intel x86 family 18 Computers organization & Assembly Language

CISC and RISC RISC refers to Reduced Instruction Set Computer RISC Key features: –Large number of general purpose registers –Small and simple instruction set –All instructions have the same width –Simpler instruction formats and addressing modes –Decoded and executed directly by hardware –Examples: ARM, MIPS, PowerPC, SPARC, etc. Introduction to Microprocessors & Assembly Language 19

20 The End Computers organization & Assembly Language