Date post: | 30-Dec-2015 |
Category: |
Documents |
Upload: | roary-mcbride |
View: | 111 times |
Download: | 8 times |
FloydFloydDigital Fundamentals, 9/eDigital Fundamentals, 9/e
Copyright ©2006 by Pearson Education, Inc.Copyright ©2006 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458Upper Saddle River, New Jersey 07458
All rights reserved.All rights reserved.
Slide 1
Digital FundamentalsDigital Fundamentals
CHAPTER 12CHAPTER 12
Introduction to ComputersIntroduction to Computers
FloydFloydDigital Fundamentals, 9/eDigital Fundamentals, 9/e
Copyright ©2006 by Pearson Education, Inc.Copyright ©2006 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458Upper Saddle River, New Jersey 07458
All rights reserved.All rights reserved.
Slide 2
The Basic Computer The Basic Computer
FloydFloydDigital Fundamentals, 9/eDigital Fundamentals, 9/e
Copyright ©2006 by Pearson Education, Inc.Copyright ©2006 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458Upper Saddle River, New Jersey 07458
All rights reserved.All rights reserved.
Slide 3
The Basic Computer The Basic Computer
• Central processing unit (CPU)Central processing unit (CPU)
• Memories and storageMemories and storage
• Input/output portsInput/output ports
• BusesBuses
FloydFloydDigital Fundamentals, 9/eDigital Fundamentals, 9/e
Copyright ©2006 by Pearson Education, Inc.Copyright ©2006 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458Upper Saddle River, New Jersey 07458
All rights reserved.All rights reserved.
Slide 4
The Computer System The Computer System
• Central processing unit (CPU)Central processing unit (CPU)
• Memories and storageMemories and storage
• Input/output portsInput/output ports
• BusesBuses
FloydFloydDigital Fundamentals, 9/eDigital Fundamentals, 9/e
Copyright ©2006 by Pearson Education, Inc.Copyright ©2006 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458Upper Saddle River, New Jersey 07458
All rights reserved.All rights reserved.
Slide 5
The Computer System The Computer System
FloydFloydDigital Fundamentals, 9/eDigital Fundamentals, 9/e
Copyright ©2006 by Pearson Education, Inc.Copyright ©2006 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458Upper Saddle River, New Jersey 07458
All rights reserved.All rights reserved.
Slide 6
Microprocessors Microprocessors
FloydFloydDigital Fundamentals, 9/eDigital Fundamentals, 9/e
Copyright ©2006 by Pearson Education, Inc.Copyright ©2006 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458Upper Saddle River, New Jersey 07458
All rights reserved.All rights reserved.
Slide 7
Microprocessors Microprocessors
• Arithmetic logic unit (ALU)Arithmetic logic unit (ALU)
• Instruction decoder (normally Instruction decoder (normally part of the ALU)part of the ALU)
• Register array Register array
• Control UnitControl Unit
FloydFloydDigital Fundamentals, 9/eDigital Fundamentals, 9/e
Copyright ©2006 by Pearson Education, Inc.Copyright ©2006 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458Upper Saddle River, New Jersey 07458
All rights reserved.All rights reserved.
Slide 8
Microprocessors Microprocessors
Basic OperationsBasic Operations
• Perform arithmetic and logic operationsPerform arithmetic and logic operations
• Move data between memory locations Move data between memory locations and input/output portsand input/output ports
• Make decisions and act accordinglyMake decisions and act accordingly
FloydFloydDigital Fundamentals, 9/eDigital Fundamentals, 9/e
Copyright ©2006 by Pearson Education, Inc.Copyright ©2006 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458Upper Saddle River, New Jersey 07458
All rights reserved.All rights reserved.
Slide 9
Microprocessors Microprocessors
• Programming OperationsProgramming Operations– Data transferData transfer– Arithmetic and logicArithmetic and logic– Bit manipulationBit manipulation– Loops and jumpsLoops and jumps– StringsStrings– Subroutines and interruptsSubroutines and interrupts– ControlControl
FloydFloydDigital Fundamentals, 9/eDigital Fundamentals, 9/e
Copyright ©2006 by Pearson Education, Inc.Copyright ©2006 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458Upper Saddle River, New Jersey 07458
All rights reserved.All rights reserved.
Slide 10
The Software Model for the Pentium Processor The Software Model for the Pentium Processor
FloydFloydDigital Fundamentals, 9/eDigital Fundamentals, 9/e
Copyright ©2006 by Pearson Education, Inc.Copyright ©2006 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458Upper Saddle River, New Jersey 07458
All rights reserved.All rights reserved.
Slide 11
The Software Model for the Pentium Processor The Software Model for the Pentium Processor
• Basic operationBasic operation– Fetch an instruction from memoryFetch an instruction from memory– Decode the instruction Decode the instruction – Execute the instructionExecute the instruction
FloydFloydDigital Fundamentals, 9/eDigital Fundamentals, 9/e
Copyright ©2006 by Pearson Education, Inc.Copyright ©2006 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458Upper Saddle River, New Jersey 07458
All rights reserved.All rights reserved.
Slide 12
The Software Model for the Pentium Processor The Software Model for the Pentium Processor
• 8086/8088 Architecture8086/8088 Architecture– Bus interface unit (BIU)Bus interface unit (BIU)– Execution unitExecution unit (EU)(EU)
FloydFloydDigital Fundamentals, 9/eDigital Fundamentals, 9/e
Copyright ©2006 by Pearson Education, Inc.Copyright ©2006 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458Upper Saddle River, New Jersey 07458
All rights reserved.All rights reserved.
Slide 13
The Software Model for the Pentium Processor The Software Model for the Pentium Processor
• Bus Interface Unit (BIU)Bus Interface Unit (BIU)– Instruction pointer (IP)Instruction pointer (IP)– Instruction queueInstruction queue– Segment registersSegment registers
• CS• DS• SS• ES
FloydFloydDigital Fundamentals, 9/eDigital Fundamentals, 9/e
Copyright ©2006 by Pearson Education, Inc.Copyright ©2006 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458Upper Saddle River, New Jersey 07458
All rights reserved.All rights reserved.
Slide 14
The Software Model for the Pentium Processor The Software Model for the Pentium Processor
• Execution Unit (EU)Execution Unit (EU)– ALUALU– General registersGeneral registers
• Data set– Accumulator (AH, AL)
– Base index (BH, BL)
– Count (CH, CL)
– Data (DH, DL)
• Pointer and index set– Stack pointer (SP)
– Base pointer (BP)
– Destination index (DI)
– Source index (SI)
– FlagsFlags
FloydFloydDigital Fundamentals, 9/eDigital Fundamentals, 9/e
Copyright ©2006 by Pearson Education, Inc.Copyright ©2006 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458Upper Saddle River, New Jersey 07458
All rights reserved.All rights reserved.
Slide 15
Computer Programming Computer Programming
FloydFloydDigital Fundamentals, 9/eDigital Fundamentals, 9/e
Copyright ©2006 by Pearson Education, Inc.Copyright ©2006 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458Upper Saddle River, New Jersey 07458
All rights reserved.All rights reserved.
Slide 16
Computer ProgrammingComputer Programming
• Levels of programming languagesLevels of programming languages
• Types of instructionsTypes of instructions
FloydFloydDigital Fundamentals, 9/eDigital Fundamentals, 9/e
Copyright ©2006 by Pearson Education, Inc.Copyright ©2006 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458Upper Saddle River, New Jersey 07458
All rights reserved.All rights reserved.
Slide 17
Computer ProgrammingComputer Programming
• Levels of Programming LanguagesLevels of Programming Languages– Computer hardwareComputer hardware– Machine languageMachine language– Assembly languageAssembly language– High-level languageHigh-level language
FloydFloydDigital Fundamentals, 9/eDigital Fundamentals, 9/e
Copyright ©2006 by Pearson Education, Inc.Copyright ©2006 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458Upper Saddle River, New Jersey 07458
All rights reserved.All rights reserved.
Slide 18
Computer Programming Computer Programming
• Types of InstructionsTypes of Instructions– Data transferData transfer– ArithmeticArithmetic– Bit manipulationBit manipulation– Loops and jumpsLoops and jumps– StringsStrings– Subroutines and interruptsSubroutines and interrupts– Processor controlProcessor control
FloydFloydDigital Fundamentals, 9/eDigital Fundamentals, 9/e
Copyright ©2006 by Pearson Education, Inc.Copyright ©2006 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458Upper Saddle River, New Jersey 07458
All rights reserved.All rights reserved.
Slide 19
Interrupts Interrupts
FloydFloydDigital Fundamentals, 9/eDigital Fundamentals, 9/e
Copyright ©2006 by Pearson Education, Inc.Copyright ©2006 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458Upper Saddle River, New Jersey 07458
All rights reserved.All rights reserved.
Slide 20
Interrupts Interrupts
• Polled I/OPolled I/O
• Interrupt-driven I/OInterrupt-driven I/O
• Software interruptSoftware interrupt
FloydFloydDigital Fundamentals, 9/eDigital Fundamentals, 9/e
Copyright ©2006 by Pearson Education, Inc.Copyright ©2006 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458Upper Saddle River, New Jersey 07458
All rights reserved.All rights reserved.
Slide 21
Internal System InterfacingInternal System Interfacing
FloydFloydDigital Fundamentals, 9/eDigital Fundamentals, 9/e
Copyright ©2006 by Pearson Education, Inc.Copyright ©2006 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458Upper Saddle River, New Jersey 07458
All rights reserved.All rights reserved.
Slide 22
Internal System InterfacingInternal System Interfacing
• Multiplexed busesMultiplexed buses
• Bus signalsBus signals
• Tristate buffersTristate buffers
• Bus contentionBus contention
• Multiplexed busesMultiplexed buses
FloydFloydDigital Fundamentals, 9/eDigital Fundamentals, 9/e
Copyright ©2006 by Pearson Education, Inc.Copyright ©2006 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458Upper Saddle River, New Jersey 07458
All rights reserved.All rights reserved.
Slide 23
Standard Buses Standard Buses
FloydFloydDigital Fundamentals, 9/eDigital Fundamentals, 9/e
Copyright ©2006 by Pearson Education, Inc.Copyright ©2006 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458Upper Saddle River, New Jersey 07458
All rights reserved.All rights reserved.
Slide 24
Standard Buses Standard Buses
• Internal busesInternal buses• External busesExternal buses• Serial I/O interface busesSerial I/O interface buses• Parallel I/O interface busesParallel I/O interface buses
FloydFloydDigital Fundamentals, 9/eDigital Fundamentals, 9/e
Copyright ©2006 by Pearson Education, Inc.Copyright ©2006 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458Upper Saddle River, New Jersey 07458
All rights reserved.All rights reserved.
Slide 25
Standard Buses Standard Buses
• Serial I/O interface busesSerial I/O interface buses– RS-232CRS-232C– IEEE 1394IEEE 1394– Universal serial bus (USB)Universal serial bus (USB)
FloydFloydDigital Fundamentals, 9/eDigital Fundamentals, 9/e
Copyright ©2006 by Pearson Education, Inc.Copyright ©2006 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458Upper Saddle River, New Jersey 07458
All rights reserved.All rights reserved.
Slide 26
Standard Buses Standard Buses
• Parallel I/O interface busesParallel I/O interface buses– IEEE 488 (GPIB)IEEE 488 (GPIB)– Small computer system interface (SCSI)Small computer system interface (SCSI)