logo资料库

ISA System Architecture.pdf

第1页 / 共80页
第2页 / 共80页
第3页 / 共80页
第4页 / 共80页
第5页 / 共80页
第6页 / 共80页
第7页 / 共80页
第8页 / 共80页
资料共80页,剩余部分请下载后查看
Title Page
Table of Contents
Chapter 1: Intro to Microprocessor Communication
Instruction Fetch and Execution
General
In-Line Code Fetching
Reading and Writing
Chapter 2: Introduction to the Bus Cycle
Introduction
Automatic Dishwasher – Classic State Machine Example
The System Clock – a Metronome
Microprocessor's Bus Cycle State Machine
Address Time
Data Time
Chapter 3: Addressing I/O and Memory
Evolution of Memory and I/O Address Space
Intel 8080 Microprocessor Address Space
8086 and 8088 Microprocessor Address Space
Chapter 4: The Address Decode Logic
The Address Decoder Concept
Data Bus Contention (Address Conflicts)
How Address Decoders Work
Example 1– PC and PC/XT ROM Address Decoder
Background
Chapter 5: The 286 Microprocessor
The 80286 Functional Units
The Instruction Unit
The Execution Unit
General Registers
Chapter 6: The Reset Logic
The Power Supply Reset
Reset Button
Shutdown Detect
Hot Reset
Alternate (Fast) Hot Reset
Ctrl-Alt-Del Soft Reset
Chapter 7: The Power-Up Sequence
The Power Supply – Primary Reset Source
How RESET Affects the Microprocessor
Processor Reaction When Output Voltages Stabilize
The First Bus Cycle
Chapter 8: The 80286 System Kernel: The Engine
The Bus Control Logic
The Address Latch
Address Pipelining
Chapter 9: Detailed View of the 80286 Bus Cycle
Address and Data Time Revisited
The Read Bus Cycle
Chapter 10: The 80386DX and SX Microprocessors
Introduction
The 80386 Functional Units
General
Code Prefetch Unit
Instruction Decode Unit
Execution Unit
General
The Registers
General Registers
Status, MSW and Instruction Registers
Appendix B: Glossary
Glossary
Index
world-class technical training Are your company’s technical training needs being addressed in the most effective manner? MindShare has over 25 years experience in conducting technical training on cutting-edge technologies. We understand the challenges companies have when searching for quality, effective training which reduces the students’ time away from work and provides cost-effective alternatives. MindShare offers many fl exible solutions to meet those needs. Our courses are taught by highly-skilled, enthusiastic, knowledgeable and experienced instructors. We bring life to knowledge through a wide variety of learning methods and delivery options. training that fi ts your needs MindShare recognizes and addresses your company’s technical training issues with: • Scalable cost training • Just-in-time training • Training in a classroom, at your cubicle or home offi ce • Customizable training options • Overview and advanced topic courses • Reducing time away from work • Training delivered effectively globally • Concurrently delivered multiple-site training MindShare training courses expand your technical skillset 2 PCI Express 2.0 ® 2 Intel Core 2 Processor Architecture 2 AMD Opteron Processor Architecture 2 Intel 64 and IA-32 Software Architecture 2 Intel PC and Chipset Architecture 2 PC Virtualization 2 USB 2.0 2 Wireless USB 2 Serial ATA (SATA) 2 Serial Attached SCSI (SAS) 2 DDR2/DDR3 DRAM Technology 2 PC BIOS Firmware 2 High-Speed Design 2 Windows Internals and Drivers 2 Linux Fundamentals ... and many more. All courses can be customized to meet your group’s needs. Detailed course outlines can be found at www.mindshare.com bringing life to knowledge. real-world tech training put into practice worldwide real-world tech training put into practice worldwide real-world tech training put into practice worldwide real-world tech training put into practice worldwide *PCI Express ® is a registered trademark of the PCISIG *PCI Express ® is a registered trademark of the PCISIG
MindShare Learning Options MindShare Classroom MindShare Virtual Classroom MindShare eLearning MindShare Press In-House Training Virtual In-House Training Public Training Virtual Public Training Intro eLearning Modules Comprehensive eLearning Modules Books eBooks Classroom Training Invite MindShare to train you in-house, or sign-up to attend one of our many public classes held throughout the year and around the world. No more boring classes, the ‘MindShare Experience‘ is sure to keep you engaged. Virtual Classroom Training The majority of our courses live over the web in an inter- active environment with WebEx and a phone bridge. We deliver training cost-effectively across multiple sites and time zones. Imagine being trained in your cubicle or home offi ce and avoiding the hassle of travel. Contact us to attend one of our public virtual classes. MindShare Press Purchase our books and eBooks or publish your own content through us. MindShare has authored over 25 books and the list is growing. Let us help make your book project a successful one. eLearning Module Training MindShare is also an eLearning company. Our growing list of interactive eLearning modules include: • Intro to Virtualization Technology • Intro to IO Virtualization • Intro to PCI Express 2.0 Updates • PCI Express 2.0 • USB 2.0 • AMD Opteron Processor Architecture • Virtualization Technology ...and more Engage MindShare Have knowledge that you want to bring to life? MindShare will work with you to “Bring Your Knowledge to Life.” Engage us to transform your knowledge and design courses that can be delivered in classroom or virtual class- room settings, create online eLearning modules, or publish a book that you author. We are proud to be the preferred training provider at an extensive list of clients that include: ADAPTEC • AMD • AGILENT TECHNOLOGIES • APPLE • BROADCOM • CADENCE • CRAY • CISCO • DELL • FREESCALE GENERAL DYNAMICS • HP • IBM • KODAK • LSI LOGIC • MOTOROLA • MICROSOFT • NASA • NATIONAL SEMICONDUCTOR NETAPP • NOKIA • NVIDIA • PLX TECHNOLOGY • QLOGIC • SIEMENS • SUN MICROSYSTEMS SYNOPSYS • TI • UNISYS 4285 SLASH PINE DRIVE COLORADO SPRINGS, CO 80908 USA M 1.602.617.1123 O 1.800.633.1440 ravi@mindshare.com www.mindshare.com
ISA System Architecture Third Edition MINDSHARE, INC. TOM SHANLEY AND DON ANDERSON EDITED AND REVISED BY JOHN SWINDLE L MM Addison-Wesley Publishing Company Reading, Massachusetts • Menlo Park, California New York Don Mills, Ontario Wokingham, England Amsterdam Bonn Sydney Singapore Tokyo Madrid San Juan Paris • Seoul Milan Mexico City Taipei
Many of the designations used by manufacturers and sellers to distinguish their prod- ucts are claimed as trademarks. Where those designations appear in this book, and Ad- dison-Wesley was aware of a trademark claim, the designations have been printed in initial capital letters or all capital letters. The authors and publishers have taken care in preparation of this book, but make no expressed or implied warranty of any kind and assume no responsibility for errors or omissions. No liability is assumed for incidental or consequential damages in connec- tion with or arising out of the use of the information or programs contained herein. Library of Congress Cataloging-in-Publication Data ISBN: 0-201-40996-8 Copyright © 1995 by MindShare, Inc. All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photo- copying, recording, or otherwise, without the prior written permission of the publisher. Printed in the United States of America. Published simultaneously in Canada. Sponsoring Editor: Keith Wollman Project Manager: Eleanor McCarthy Production Coordinator: Deborah McKenna Cover design: Barbara T. Atkinson Set in 10 point Palatino by MindShare, Inc. 1 2 3 4 5 6 7 8 9 -MA- 9998979695 First printing, February 1995 Addison-Wesley books are available for bulk purchases by corporations, institutions, and other organizations. For more information please contact the Corporate, Govern- ment, and Special Sales Department at (800) 238-9682.
Contents Contents Foreword...............................................................................................................................xxiii Acknowledgments................................................................................................................xxv About This Book The MindShare Architecture Series......................................................................................1 Organization of This Book...................................................................................................... 2 Who This Book Is For...............................................................................................................2 Prerequisite Knowledge..........................................................................................................2 Documentation Conventions..................................................................................................3 Hex Notation.......................................................................................................................3 Binary Notation...................................................................................................................3 Decimal Notation................................................................................................................3 Signal Name Representation.............................................................................................3 Identification of Bit Fields (logical groups of bits or signals) .......................................4 We Want Your Feedback .........................................................................................................4 Overview System Kernel ...........................................................................................................................6 Memory Subsystems................................................................................................................6 ISA Subsystem ..........................................................................................................................7 Origins of ISA ...........................................................................................................................7 The IBM PC .........................................................................................................................7 The IBM PC/AT..................................................................................................................8 The ISA Concept.......................................................................................................................8 Part 1: The System Kernel Chapter 1: Intro to Microprocessor Communications Instruction Fetch and Execution ..........................................................................................11 General...............................................................................................................................11 In-Line Code Fetching......................................................................................................13 Reading and Writing..............................................................................................................15 Type of Information Read from Memory......................................................................16 Type of Information Written to Memory.......................................................................16 The Buses .................................................................................................................................16 The Address Bus...............................................................................................................17 Control Bus – Transaction Type and Synchronization ................................................19 The Data Bus — Data Transfer Path ..............................................................................19 v
ISA System Architecture Chapter 2: Introduction to the Bus Cycle Introduction .............................................................................................................................21 Automatic Dishwasher – Classic State Machine Example..............................................21 The System Clock – a Metronome.......................................................................................22 Microprocessor's Bus Cycle State Machine .......................................................................23 Address Time ....................................................................................................................24 Data Time...........................................................................................................................25 The Wait State ...................................................................................................................26 Chapter 3: Addressing I/O and Memory Evolution of Memory and I/O Address Space...................................................................29 Intel 8080 Microprocessor Address Space.....................................................................29 8086 and 8088 Microprocessor Address Space .............................................................33 286 and 386SX Address Space ........................................................................................34 386DX, 486 and Pentium Processor Address Space.....................................................35 Memory Mapped I/O .............................................................................................................36 The I/O Device ........................................................................................................................36 Chapter 4: The Address Decode Logic The Address Decoder Concept.............................................................................................39 Data Bus Contention (Address Conflicts)..........................................................................41 How Address Decoders Work ..............................................................................................41 Example 1– PC and PC/XT ROM Address Decoder .........................................................42 Background .......................................................................................................................42 The PC/XT ROM Address Decode Logic .....................................................................44 Example 2 – System Board I/O Address Decoder .............................................................47 Chapter 5: The 80286 Microprocessor The 80286 Functional Units...................................................................................................53 The Instruction Unit .........................................................................................................55 The Execution Unit...........................................................................................................55 General Registers.......................................................................................................56 The Status and Control Registers ............................................................................59 The Address Unit..............................................................................................................63 The Segment Registers..............................................................................................63 Segment Register Usage in Real Mode ...................................................................63 Code Segment (CS) & Instruction Pointer (IP) Registers .....................................67 The Data Segment (DS) Register .............................................................................69 The Extra Segment (ES) Register .............................................................................70 Stack Segment (SS) & Stack Pointer (SP) Registers ...............................................71 Little-Endian Byte-Ordering Rule ...........................................................................74 Definition of Extended Memory..............................................................................75 Accessing Extended Memory in Real Mode ..........................................................76 vi
Contents The Bus Unit......................................................................................................................81 Address Latches and Drivers...................................................................................81 Instruction Prefetcher and 6-byte Prefetch Queue................................................81 Processor Extension Interface ..................................................................................82 Bus Control Logic ......................................................................................................83 Data Transceivers ......................................................................................................83 80286 Hardware Interface to External Devices..................................................................83 The Address Bus...............................................................................................................83 How 80286 Addresses External Locations ....................................................................85 The Data Bus .....................................................................................................................87 The Cardinal Rules ...........................................................................................................88 Cardinal Rule Number One .....................................................................................88 Cardinal Rule Number Two.....................................................................................89 Cardinal Rule Number Three ..................................................................................89 The Control Bus ................................................................................................................ 89 Bus Cycle Definition Lines .......................................................................................90 Bus Mastering Lines..................................................................................................90 Protecting Access To Shared Resource ...................................................................92 Ready Line..................................................................................................................94 Interrupt Lines ...........................................................................................................95 Processor Extension Interface Lines........................................................................96 The Clock Line ...........................................................................................................97 The Reset Line............................................................................................................97 Protected Mode .......................................................................................................................98 Intro to Protected Mode and Multitasking Operating Systems..................................99 Segment Register Usage in Protected Mode ...............................................................101 Chapter 6: The Reset Logic The Power Supply Reset .....................................................................................................107 Reset Button...........................................................................................................................108 Shutdown Detect ..................................................................................................................108 Hot Reset ................................................................................................................................109 Alternate (Fast) Hot Reset ...................................................................................................111 Ctrl-Alt-Del Soft Reset ........................................................................................................111 Chapter 7: The Power-Up Sequence The Power Supply – Primary Reset Source .....................................................................113 How RESET Affects the Microprocessor..........................................................................115 Processor Reaction When Output Voltages Stabilize....................................................115 The First Bus Cycle...............................................................................................................116 Chapter 8: The 80286 System Kernel: the Engine The Bus Control Logic .........................................................................................................119 vii
分享到:
收藏