© 2006 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved.Brey: The Intel Microprocessors, 7e Chapter 1 Introduction to Microprocessors.

Slides:



Advertisements
Similar presentations
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Copyright © 2006 by The McGraw-Hill Companies,
Advertisements

4/23/2015Engineering Problem Solving with C++ second edition, J. ingber 1 Engineering Problem Solving with C++, Etter/Ingber Chapter 1.
EEE 4211: Microprocessor and Input/Output System.
Chapter 1 An Introduction To Microprocessor And Computer
CoSci 442 Microprocessor Systems Presented by: Engr. Ronnie D. Caytiles BSCS College of Computer Studies University of Antique.
Microprocessors. Microprocessor Buses Address Bus Address Bus One way street over which microprocessor sends an address code to memory or other external.
SECTION 4a Transforming Data into Information.
Digital Fundamentals Floyd Chapter 2 Tenth Edition
© 2006 Pearson Education, Upper Saddle River, NJ All Rights Reserved.Brey: The Intel Microprocessors, 7e Floating-Point.
Introduction to Microprocessors Number Systems and Conversions No /6/00 Chapter 1: Introduction to 68HC11 The 68HC11 Microcontroller.
Vacuum tubes Transistor 1948 –Smaller, Cheaper, Less heat dissipation, Made from Silicon (Sand) –Invented at Bell Labs –Shockley, Brittain, Bardeen ICs.
1 CS402 PPP # 1 Computer Architecture Evolution. 2 John Von Neuman original concept.
The Microprocessor-based PC System Prima Dewi Purnamasari Microprocessor Electrical Engineering Department University of Indonesia.
Introduction to Computing. Computer History Charles Babbage Born December 26, 1791 in Teignmouth, Devonshire UK, Died 1871, London; Known to some as.
Chapter 17 Microprocessor Fundamentals William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper.
Introduction Part 1 The Microprocessor Based Systems  Memory and I/O System  Microprocessor.
Computer system & Architecture Chapter 2 Computer Evolution and Performance.
C.S. Choy95 COMPUTER ORGANIZATION Logic Design Skill to design digital components JAVA Language Skill to program a computer Computer Organization Skill.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd.
Faculty of Information Technology Department of Computer Science Computer Organization and Assembly Language Chapter 5 Internal Memory.
The History of Computers
1 More on Computer Components Computer switches Binary number system Inside the CPU Cache memory Types of RAM Computer buses Creating faster CPUs NEXT.
3 1 3 C H A P T E R Hardware: Input, Processing, and Output Devices.
Practical PC, 7th Edition Chapter 17: Looking Under the Hood
GRAP 3175 Computer Applications for Drafting Unit II Computer Hardware.
Technology in Focus: Under the Hood
Microcontrollers Microcontroller (MCU) – An integrated electronic computing device that includes three major components on a single chip Microprocessor.
Physics 413 Chapter 1 Computer Architecture What is a Digital Computer ? A computer is essentially a fast electronic calculating machine. What is a program.
General Topics Digital Basics Instructions & Programs.
An Abacus. Babbage’s Difference Engine Electronic Computers  1939–1944, Howard H. Aiken developed the Harvard Mark I—also known as the IBM ASCC.  Grace.
An Introduction to Computers August 12, 2008 Mrs. C. Furman.
Computer Programming 1. Evolution of Computers Components of Computers Programming Languages Important People Javascript Round 2.
Computers Are Your Future Eleventh Edition Chapter 2: Inside the System Unit Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall1.
Computers organization & Assembly Language Chapter 0 INTRODUCTION TO COMPUTING Basic Concepts.
CMSC 120: Visualizing Information 1/29/08 Introduction to Computing.
The Central Processing Unit: What Goes on Inside the Computer
CPS120: Introduction to Computer Science Introduction to Computers.
CPU Internal memory I/O interface circuit System bus
CPEN Digital System Design
© CCI Learning Solutions Inc. 1 Lesson 2: Elements of a Personal Computer System unit Microprocessor chip How memory is measured What ROM is What RAM is.
Software Basics. Some Pioneers Charles Babbage Analytical Engine Countess Ada Lovelace First Programmer ? John Von Neumann storing instructions in memory.
Chapter 19 Number Systems. Irvine, Kip R. Assembly Language for Intel-Based Computers, Translating Languages English: Display the sum of A times.
CHAPTER 4 The Central Processing Unit. Chapter Overview Microprocessors Replacing and Upgrading a CPU.
CSNB374: Microprocessor Systems Chapter 1: Introduction to Microprocessor.
Computer Organization & Assembly Language © by DR. M. Amer.
The Microprocessor-based PC System Microprocessor Course Electrical Engineering Department University of Indonesia.
Introduction to Microprocessors
Computer Hardware The Processing Unit.
Stored Programs In today’s lesson, we will look at: what we mean by a stored program computer how computers store and run programs what we mean by the.
Computer and Information Sciences College / Computer Science Department CS 206 D Computer Organization and Assembly Language.
Chapter 1: Introduction to the Microprocessor and Computer.
School of Computer and Communication Engineering, UniMAP Mohd ridzuan mohd nor DKT 122/3 - DIGITAL SYSTEM I Chapter.
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Chapter 5A Transforming Data Into Information.
CPU/BIOS/BUS CES Industries, Inc. Lesson 8.  Brain of the computer  It is a “Logical Child, that is brain dead”  It can only run programs, and follow.
Dannelly's Short History of Computing CSCI327 Social Implications of Computing.
CS 125 Lecture 2 Martin van Bommel. Hardware vs Software Hardware - physical components you can see and touch –e.g. processor, keyboard, disk drive Software.
Capability of processor determine the capability of the computer system. Therefore, processor is the key element or heart of a computer system. Other.
Information Age “An in depth look at the exciting history of the Calculator and Computer”
©2013 Pearson Education, Inc. Upper Saddle River, NJ. All Rights Reserved. Introduction to Computers and Computing.
Computer A Computer may be defined as an electronic device that operates upon data. So, a computer can store, process and retrieve data as and when desired.
Computer Organization Exam Review CS345 David Monismith.
CSCI 161: Introduction to Programming
Unit 1 Evolution of Computing
Transforming Data Into Information
Microprocessor-Unit I
Introduction Overview of Intel microprocessors.
McGraw-Hill Technology Education
Morgan Kaufmann Publishers Computer Organization and Assembly Language
McGraw-Hill Technology Education
McGraw-Hill Technology Education
Presentation transcript:

© 2006 Pearson Education, Upper Saddle River, NJ All Rights Reserved.Brey: The Intel Microprocessors, 7e Chapter 1 Introduction to Microprocessors by Barry B. Brey

© 2006 Pearson Education, Upper Saddle River, NJ All Rights Reserved.Brey: The Intel Microprocessors, 7e Mechanical Computing The abacus circa 500 B.C. – the first calculator The abacus circa 500 B.C. – the first calculator Blaise Pascal – the first modern mechanical adder Blaise Pascal – the first modern mechanical adder Charles Babbage – the first true computer Charles Babbage – the first true computer Herman Hollerith – the punched card system and founder of IBM Herman Hollerith – the punched card system and founder of IBM

© 2006 Pearson Education, Upper Saddle River, NJ All Rights Reserved.Brey: The Intel Microprocessors, 7e Early electronic computers Konrad Zuse – Z3 (relay logic at 5.33 Hz) Konrad Zuse – Z3 (relay logic at 5.33 Hz) Alan Turing – Colossus Alan Turing – Colossus University of Pennsylvania - ENIAC University of Pennsylvania - ENIAC

© 2006 Pearson Education, Upper Saddle River, NJ All Rights Reserved.Brey: The Intel Microprocessors, 7e Early milestones 1948 – the transistor at Bell Labs 1948 – the transistor at Bell Labs 1958 – the integrated circuit 1958 – the integrated circuit 1961 – RTL digital logic 1961 – RTL digital logic 1971 – the microprocessor (4004) 1971 – the microprocessor (4004)

© 2006 Pearson Education, Upper Saddle River, NJ All Rights Reserved.Brey: The Intel Microprocessors, 7e Early programming Countess of Lovelace (1823) wrote programs for the Analytical Engine Countess of Lovelace (1823) wrote programs for the Analytical Engine Machine Language then Assembly Language Machine Language then Assembly Language Grace Hopper (1957) develops FLOW- MATIC Grace Hopper (1957) develops FLOW- MATIC FORTRAN, ALGOL, and RPG FORTRAN, ALGOL, and RPG COBOL COBOL

© 2006 Pearson Education, Upper Saddle River, NJ All Rights Reserved.Brey: The Intel Microprocessors, 7e Modern programming Visual BASIC (most common business) Visual BASIC (most common business) Visual C/C++ (most common technical) Visual C/C++ (most common technical) JAVA (most common web) JAVA (most common web) ADA and PASCAL ADA and PASCAL C# (gaining on web) C# (gaining on web)

© 2006 Pearson Education, Upper Saddle River, NJ All Rights Reserved.Brey: The Intel Microprocessors, 7e Early Microprocessors 4004 the first microprocessor (4-bit) 16K RAM 4004 the first microprocessor (4-bit) 16K RAM 8008 (8-bit) 8008 (8-bit) 8080 (8-bit) 64K RAM, 2Mhz clock 8080 (8-bit) 64K RAM, 2Mhz clock 8086 (16-bit) 1M RAM, 5MHz clock 8086 (16-bit) 1M RAM, 5MHz clock (16-bit) 16M RAM, 16MHz clock (16-bit) 16M RAM, 16MHz clock

© 2006 Pearson Education, Upper Saddle River, NJ All Rights Reserved.Brey: The Intel Microprocessors, 7e 32-bit Microprocessors 80386, 4G RAM, 33 MHz clock 80386, 4G RAM, 33 MHz clock 80486, 4G RAM, 66 MHz clock 80486, 4G RAM, 66 MHz clock Pentium, 4G RAM, 66 MHz clock Pentium, 4G RAM, 66 MHz clock Pentium Pro, 64G RAM, 133 MHz clock Pentium Pro, 64G RAM, 133 MHz clock Pentium II, 64G RAM, 233 MHz clock Pentium II, 64G RAM, 233 MHz clock Pentium III, 64G RAM, 500 MHz clock Pentium III, 64G RAM, 500 MHz clock Pentium 4, 64G RAM, 1.5 GHz clock Pentium 4, 64G RAM, 1.5 GHz clock

© 2006 Pearson Education, Upper Saddle River, NJ All Rights Reserved.Brey: The Intel Microprocessors, 7e The P nomenclature P1 – 8086/8088 class P1 – 8086/8088 class P2 – class P2 – class P3 – class P3 – class P4 – class P4 – class P5 – Pentium class P5 – Pentium class P6 – Pentium Pro/Pentium II, Pentium III, and Pentium 4 class P6 – Pentium Pro/Pentium II, Pentium III, and Pentium 4 class

© 2006 Pearson Education, Upper Saddle River, NJ All Rights Reserved.Brey: The Intel Microprocessors, 7e Cache Memory A temporary high speed memory that buffers the slower DRAM from the higher speed microprocessor. A temporary high speed memory that buffers the slower DRAM from the higher speed microprocessor. Usages in bursts of 4 memory-sized chunks of data (today 4, 64-bit numbers) Usages in bursts of 4 memory-sized chunks of data (today 4, 64-bit numbers) Level 1 (small cache for local high-speed storage) Level 1 (small cache for local high-speed storage) Level 2 (larger cache for local high-speed storage. Level 2 (larger cache for local high-speed storage. Level 3 (large cache on Pentium 4 chip) Level 3 (large cache on Pentium 4 chip)

© 2006 Pearson Education, Upper Saddle River, NJ All Rights Reserved.Brey: The Intel Microprocessors, 7e Memory Organization Memory is organized in byte-sized (wide) chunks of data Memory is organized in byte-sized (wide) chunks of data Memory is numbered in bytes Memory is numbered in bytes Memory is number in hexadecimal addresses or locations Memory is number in hexadecimal addresses or locations Modern memory is 64-bits wide containing 8 bytes per memory physical location. Modern memory is 64-bits wide containing 8 bytes per memory physical location. Modern DRAM is SLOW! (40 ns per a random access) Modern DRAM is SLOW! (40 ns per a random access) Buffering and double clock edge transfers can speed memory access times to about 25 MHz Buffering and double clock edge transfers can speed memory access times to about 25 MHz

© 2006 Pearson Education, Upper Saddle River, NJ All Rights Reserved.Brey: The Intel Microprocessors, 7e Microprocessor Internals

© 2006 Pearson Education, Upper Saddle River, NJ All Rights Reserved.Brey: The Intel Microprocessors, 7e Computer Block Diagram

© 2006 Pearson Education, Upper Saddle River, NJ All Rights Reserved.Brey: The Intel Microprocessors, 7e Computer System Functions CPU (microprocessor) – performs CPU (microprocessor) – performs arithmetic and logic operations (table 1-4) arithmetic and logic operations (table 1-4) data transfers (to memory or i/o) data transfers (to memory or i/o) program flow via simple decisions (table 1-5) program flow via simple decisions (table 1-5) Memory – stores program and data Memory – stores program and data I/O – communicates to humans and machines (figure 1-11) I/O – communicates to humans and machines (figure 1-11)

© 2006 Pearson Education, Upper Saddle River, NJ All Rights Reserved.Brey: The Intel Microprocessors, 7e I/O Space Port 0000H to ffffH (64K 8-bit i/o devices) Port 0000H to ffffH (64K 8-bit i/o devices) Two major sections Two major sections System devices (motherboard, etc) System devices (motherboard, etc) Reserved for expansion Reserved for expansion Various I/O devices that control the system are not directly addressed. System BIOS Rom addresses these devices. Various I/O devices that control the system are not directly addressed. System BIOS Rom addresses these devices. Access made through OS or BIOS function calls to maintain compatibility from one computer system to another Access made through OS or BIOS function calls to maintain compatibility from one computer system to another

© 2006 Pearson Education, Upper Saddle River, NJ All Rights Reserved.Brey: The Intel Microprocessors, 7e DOS Memory System

© 2006 Pearson Education, Upper Saddle River, NJ All Rights Reserved.Brey: The Intel Microprocessors, 7e Windows Memory Map

© 2006 Pearson Education, Upper Saddle River, NJ All Rights Reserved.Brey: The Intel Microprocessors, 7e DOS vs. Windows Memory 1M memory system for DOS 1M memory system for DOS 4G memory system for Windows 4G memory system for Windows DOS is a 16-bit system DOS is a 16-bit system Windows is a 32-bit system Windows is a 32-bit system DOS TPA is 640K bytes (figure 1-8, 1-9) DOS TPA is 640K bytes (figure 1-8, 1-9) Windows TPA is 2G bytes (or with a modification to the registry, 3G bytes) Windows TPA is 2G bytes (or with a modification to the registry, 3G bytes)

© 2006 Pearson Education, Upper Saddle River, NJ All Rights Reserved.Brey: The Intel Microprocessors, 7e Computer Structure

© 2006 Pearson Education, Upper Saddle River, NJ All Rights Reserved.Brey: The Intel Microprocessors, 7e Buses Address Bus – selects a location in the memory or a specific I/O device Address Bus – selects a location in the memory or a specific I/O device Data Bus – transfers data between the microprocessor and the memory or I/O Data Bus – transfers data between the microprocessor and the memory or I/O Control Bus – selects I/O or memory and causes a read or a write Control Bus – selects I/O or memory and causes a read or a write See Table 1-6 for Bus widths and memory sizes See Table 1-6 for Bus widths and memory sizes

© 2006 Pearson Education, Upper Saddle River, NJ All Rights Reserved.Brey: The Intel Microprocessors, 7e Reading from Memory Multiple machine cycles are required when reading from memory, because it responds much more slowly than the CPU. The steps are: Multiple machine cycles are required when reading from memory, because it responds much more slowly than the CPU. The steps are: address placed on address bus address placed on address bus Read Line (RD) set low Read Line (RD) set low CPU waits one cycle for memory to respond CPU waits one cycle for memory to respond Read Line (RD) goes to 1, indicating that the data is on the data bus Read Line (RD) goes to 1, indicating that the data is on the data bus

© 2006 Pearson Education, Upper Saddle River, NJ All Rights Reserved.Brey: The Intel Microprocessors, 7e Memory Organization 8086/8088 – 8- or 16-bits in width 8086/8088 – 8- or 16-bits in width – 16-bits in width – 16-bits in width 80386/80486 – 32-bits in width 80386/80486 – 32-bits in width Pentium/Pentium 4 – 64-bits in width Pentium/Pentium 4 – 64-bits in width

© 2006 Pearson Education, Upper Saddle River, NJ All Rights Reserved.Brey: The Intel Microprocessors, 7e 8-bit Data

© 2006 Pearson Education, Upper Saddle River, NJ All Rights Reserved.Brey: The Intel Microprocessors, 7e 8-bit Data Formats In the assembler use: In the assembler use: DATA1 DB 10H In C++ In C++ char Data1 = 0x10; or unsigned char Data2 = 3;

© 2006 Pearson Education, Upper Saddle River, NJ All Rights Reserved.Brey: The Intel Microprocessors, 7e 16-bit Data

© 2006 Pearson Education, Upper Saddle River, NJ All Rights Reserved.Brey: The Intel Microprocessors, 7e 16-bit Data Formats In the assembler In the assembler Data3 DW 1000H In C++ In C++ short Data3 = 0x1000; or _int16 Data4 = 23; or unsigned short Data5 = 4;

© 2006 Pearson Education, Upper Saddle River, NJ All Rights Reserved.Brey: The Intel Microprocessors, 7e 32-bit Data

© 2006 Pearson Education, Upper Saddle River, NJ All Rights Reserved.Brey: The Intel Microprocessors, 7e 32-bit Data Formats In the assembler In the assembler DATA6 DD H In C++ In C++ int Data6 = 0x ; or unsigned int Data7 = 34566; or UINT Data8 = 344;

© 2006 Pearson Education, Upper Saddle River, NJ All Rights Reserved.Brey: The Intel Microprocessors, 7e Floating-point Data

© 2006 Pearson Education, Upper Saddle River, NJ All Rights Reserved.Brey: The Intel Microprocessors, 7e Floating-Point Formats In the assembler In the assembler DATAA DD 23.4 DATAB DQ DATAR DQ 3.5E2 In C++ In C++ float DataC = 23.4; double DataD = -345; double DataE = 3.5e2;

© 2006 Pearson Education, Upper Saddle River, NJ All Rights Reserved.Brey: The Intel Microprocessors, 7e Conversions Conversion to a number base requires learning exactly what the waits of each position are worth. Conversion to a number base requires learning exactly what the waits of each position are worth. Once the weights are learned, conversion is a simple task that can even be accomplished on a calculator. Once the weights are learned, conversion is a simple task that can even be accomplished on a calculator. To convert a decimal integer to any radix divide by the radix and keep the remainders as significant digits in the result To convert a decimal integer to any radix divide by the radix and keep the remainders as significant digits in the result

© 2006 Pearson Education, Upper Saddle River, NJ All Rights Reserved.Brey: The Intel Microprocessors, 7e Conversions (continued) To convert a fraction to any radix multiply by the radix and keep the whole number part of each result To convert a fraction to any radix multiply by the radix and keep the whole number part of each result

© 2006 Pearson Education, Upper Saddle River, NJ All Rights Reserved.Brey: The Intel Microprocessors, 7e Complements Twos complements are used to store negative data in modern computers Twos complements are used to store negative data in modern computers To twos complement a number invert all the bits and ten add 1 to the result To twos complement a number invert all the bits and ten add 1 to the result

© 2006 Pearson Education, Upper Saddle River, NJ All Rights Reserved.Brey: The Intel Microprocessors, 7e Hexadecimal-coded Binary Binary numbers are often coded in groups of 4 bits to represent hexadecimal numbers. Binary numbers are often coded in groups of 4 bits to represent hexadecimal numbers = 41A = 41A 16 3C45 16 = C45 16 =