+ All Categories
Home > Documents > Digital Fundamentals

Digital Fundamentals

Date post: 30-Dec-2015
Category:
Upload: roary-mcbride
View: 111 times
Download: 8 times
Share this document with a friend
Description:
Digital Fundamentals. CHAPTER 12 Introduction to Computers. The Basic Computer. The Basic Computer. Central processing unit (CPU) Memories and storage Input/output ports Buses. The Computer System. Central processing unit (CPU) Memories and storage Input/output ports Buses. - PowerPoint PPT Presentation
26
Floyd Floyd Digital Fundamentals, 9/e Digital Fundamentals, 9/e Copyright ©2006 by Pearson Copyright ©2006 by Pearson Education, Inc. Education, Inc. Upper Saddle River, New Jersey Upper Saddle River, New Jersey 07458 07458 All rights reserved. All rights reserved. Slide 1 Digital Fundamentals Digital Fundamentals CHAPTER 12 CHAPTER 12 Introduction to Computers Introduction to Computers
Transcript
Page 1: Digital Fundamentals

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

Page 2: Digital Fundamentals

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

Page 3: Digital Fundamentals

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

Page 4: Digital Fundamentals

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

Page 5: Digital Fundamentals

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

Page 6: Digital Fundamentals

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

Page 7: Digital Fundamentals

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

Page 8: Digital Fundamentals

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

Page 9: Digital Fundamentals

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

Page 10: Digital Fundamentals

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

Page 11: Digital Fundamentals

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

Page 12: Digital Fundamentals

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)

Page 13: Digital Fundamentals

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

Page 14: Digital Fundamentals

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

Page 15: Digital Fundamentals

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

Page 16: Digital Fundamentals

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

Page 17: Digital Fundamentals

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

Page 18: Digital Fundamentals

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

Page 19: Digital Fundamentals

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

Page 20: Digital Fundamentals

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

Page 21: Digital Fundamentals

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

Page 22: Digital Fundamentals

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

Page 23: Digital Fundamentals

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

Page 24: Digital Fundamentals

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

Page 25: Digital Fundamentals

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)

Page 26: Digital Fundamentals

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)


Recommended