INTRODUCTIONTOTHEMICROPROCESSORANDCOMPUTERIntroduction/ChapterObjectives1
1-1AHistoricalBackground,2
1-2TheMicroprocessor-BasedPersonalComputerSystem,15
1-3NumberSystems,30
1-4ComputerDataFormats,36
1-5Summary,44
1-6QuestionsandProblems,47
THEMICROPROCESSORANDITSARCHITECTUREIntroduction/ChapterObjectives51
2-1InternalMicroprocessorArchitecture,51
2-2RealModeMemoryAddressing,57
2-3IntroductiontoProtectedModeMemoryAddressing,62
2-4MemoryPaging,67
2-5Summary,70
2-6QuestionsandProblems,72
ADDRESSINGMODESIntroduction/ChapterObjectives74
3-1Data-AddressingModes,74
3-2ProgramMemory-AddressingModes,96
3-3StackMemory-AddressingModes,98
3-4Summary,101
3-5QuestionsandProblems,104
DATAMOVEMENTINSTRUCTIONS
Introduction/ChapterObjectives107
4-1MOVRevisited,108
4-2PUSH/POP,116
4-3Load-EffectiveAddress,121
4-4String
DataTransfers,124
4-5MiscellaneousDataTransferInstructions,130
4-6SegmentOverride
Prefix,135
4-7AssemblerDetail,136
4-8Summary,145
4-9QuestionsandProblems,147
ARITHMETICANDLOGICINSTRUCTIONS
Introduction/ChapterObjectives150
5-1Addition,Subtraction,andComparison,150
5-2MultiplicationandDivision,160
5-3BCDandASCIIArithmetic,166
5-4BasicLogicInstructions,169
5-5ShiftandRotate,175
5-6StringComparisons,179
5-7Summary,180
5-8QuestionsandProblems,182
PROGRAMCONTROLINSTRUCTIONS
Introduction/ChapterObjectives186
6-1TheJumpGroup,186
6-2ControllingtheFlowofanAssemblyLanguageProgram,196
6-3Procedures,203
6-4IntroductiontoInterrupts,208
6-5MachineControlandMiscella-neousInstructions,212
6-6Summary,215
6-7QuestionsandProblems,218
PROGRAMMINGTHEMICROPROCESSOR
Introduction/ChapterObjectives220
7-1ModularProgramming,221
7-2UsingtheKeyboardandVideoDisplay,234
7-3Data
Conversions,248
7-4DiskFiles,259
7-5ExamplePrograms,269
7-6InterruptHooks,276
7-7Summary,287
7-8QuestionsandProblems,288
USINGASSEMBLYLANGUAGEWITHC/C++Introduction/ChapterObjectives291
8-1UsingAssemblyLanguagewithC/C++for16-BitApplications,291
8-2UsingAssemblyLanguagewithC/C++for32-BitApplications,298
8-3SeparateAssemblyObjects,302
8-4Summary,306
8-5QuestionsandProblems,307
8086/8088HARDWARESPECIFICATIONS
Introduction/ChapterObjectives309
9-1Pin-OutsandthePinFunctions,309
9-2ClockGenerator(8284A),314
9-3BusBufferingandLatching,317
9-4BusTiming,322
9-5READYandtheWaitState,326
9-6MinimumModeVersusMaximumMode,329
9-7Summary,332
9-8Questionsand
Problems,333
MEMORYINTERFACE
Introduction/ChapterObjectives335
10-1MemoryDevices,335
10-2AddressDecoding,347
10-38088and80188(8-Bit)MemoryInterface,356
10-48086,80186,80286,and80386SX(16-Bit)MemoryInterface,363
10-580386DXand80486(32-Bit)MemoryInterface,370
10-6Penfium,PentiumPro,andPentiumli(64-Bit)MemoryInterface,373
10-7DynamicRAM,377
10-8Summary,382
10-9QuestionsandProblems,383
BASICI/0INTERFACEIntroduction/ChapterObjectives386
11-1IntroductiontoI/OInterface,386
11-2I/OPortAddressDecoding,395
11-3ThePro-grammablePeripheralInterface,402
11-4The8279ProgrammableKeyboard/DisplayInter-face,425
11-58254ProgrammableIntervalTimer,433
11-616550ProgrammableCommunicationsInterface,443
11-7Analog-to-Digital(ADC)andDigital-to-Analog(DAC)Converters,451
11-8Summary,457
11-9QuestionsandProblems,459
INTERRUPTS
Introduction/ChapterObjectives462
12-1BasicInterruptProcessing,462
12-2HardwareInterrupts,471
12-3ExpandingtheInterruptStructure,477
12-48259AProgrammableInterruptController,480
12-5InterruptExamples,495
12-6Summary,498
12-7QuestionsandProblems,499
DIRECTMEMORYACCESSANDDMA-CONTROLLEDI/0
Introduction/ChapterObjectives502
13-1BasicDMAOperation,502
13-2The8237DMAController,504
13-3Shared-BusOp-eration,519
13-4DiskMemorySystems,536
13-5VideoDisplays,544
13-6Summary,551
13-7QuestionsandProblems,552
THEARITHMETICCOPROCESSORANDMMXTECHNOLOGY
Introduction/ChapterObjectives553
14-1DataFormatsfortheArithmeticCoprocessor,554
14-2The803[87Architecture,558
14-3InstructionSet,565
14-4ProgrammingwiththeArithmeticCoprocessor,588
14-5In-troductiontoMMXTechnology,595
14-6Summary,608
14-7QuestionsandProblems,609
BUSINTERFACE
Introduction/ChapterObjectives612
15-1TheISABus,612
15-2TheExtendedISA(EISA)andVESALocalBuses,619
15-3ThePeripheralComponentInterconnect(PCI)Bus,625
15-4TheParallelPrinterInter-face(LPT),633
15-5TheUniversalSerialBus(USB),636
15-6AcceleratedGraphicsPort(AGP),639
15-7Summary,640
15-8QuestionsandProblems,641
THE80186,80188,AND80286MICROPROCESSORS
Introduction/ChapterObjectives643
16-180186/80188Architecture,643
16-2Programmingthe80186/80188Enhancements,653
16-380C188EBExampleInterface,671
16-4RealTimeOperatingSystems(RTOS),675
16-5Introductiontothe80286,689
16-6Summary,693
16-7QuestionsandProblems,694
THE80386AND80486MICROPROCESSORS
Introduction/ChapterObjectives696
17-1Introductiontothe80386Microprocessor,697
17-2Special80386Registers,711
17-380386MemoryManagement,713
17-4MovingtoProtectedMode,721
17-5Virtual8086Mode,734
17-6TheMemoryPagingMechanism,735
17-7Introductiontothe80486Microprocessor,739
17-8Summary,749
17-9QuestionsandProblems,751
THEPENTIUMANDPENTIUMPROMICROPROCESSORS
Introduction/ChapterObjectives753
18-1IntroductiontothePentiumMicroprocessor,754
18-2SpecialPentiumRegisters,763
18-3PentiumMemoryManagement,765
18-4NewPentiumInstructions,767
18-5Intro-ductiontothePentiumProMicroprocessor,770
18-6SpecialPentiumProFeatures,780
18-7Summary,780
18-8QuestionsandProblems,781
THEPENTIUMII,PENTIUMIII,ANDPENTIUM4MICROPROCESSORS
Introduction/ChapterObjectives783
19-1IntroductiontothePentiumIIMicroprocessor,784
19-2PentiumI1SoftwareChanges,792
19-3ThePentiumIII,795
19-4ThePentium4,797
19-5Summary,800
19-6QuestionsandProblems,801
APPENDIXES
(A)TheAssembler,DiskOperatingSystem,BasicI/OSystem,Mouse,andDPMIMemoryManager,802
(B)InstructionSetSummary,876
(C)Flag-BitChanges,977
(D)Answersto
SelectedEven-NumberedQuestionsandProblems,979
INDEX