IBM PC彙編語言程式設計(第5版)

IBM PC彙編語言程式設計(第5版)

《IBM PC彙編語言程式設計(第5版)》是2006年5月1日清華大學出版社出版的圖書,作者是阿貝爾。

基本介紹

  • 書名:IBM PC彙編語言程式設計(第5版)
  • 作者:阿貝爾 
  • ISBN:9787302128816
  • 頁數:545頁
  • 定價:35.00元
  • 出版社:清華大學出版社
  • 出版時間:2006年5月1日
  • 裝幀:平裝
  • 開本:32開
內容簡介,目錄,

內容簡介

《大學計算機教育國外著名教材系列:IBM PC彙編語言程式設計(第5版)(影印版)》主要介紹用彙編語言進行程式設計,先從硬體和軟體著手,然後介紹編程所需的各種指令,並給出豐富的範例。全書分為七大部分:PC機硬體、軟體基礎,彙編語言基礎,螢幕與鍵盤操作,數據操作,高級輸入/輸出,特別主題,以及關於BI0S數據區、中斷與連線埠、運算符與指令、PC指令系統等的參考資料。
《大學計算機教育國外著名教材系列:IBM PC彙編語言程式設計(第5版)(影印版)》既可作為計算機及相關專業彙編語言課程的教材,也可作為開發人員的參考用書。要掌握《大學計算機教育國外著名教材系列:IBM PC彙編語言程式設計(第5版)(影印版)》內容,不僅要認真閱讀《大學計算機教育國外著名教材系列:IBM PC彙編語言程式設計(第5版)(影印版)》的每個章節,還應使用《大學計算機教育國外著名教材系列:IBM PC彙編語言程式設計(第5版)(影印版)》提供的範例並嘗試運行這些範例,並認真完成每章後面的練習。

目錄

CONTENTS
PREr^cE-yi
xI
cartAFundamentalSofPCHardwareandSOfware1
lBASICFE^rURESOFPCHARDw^RE1
Introduction1
BitsandBVtes1
ytes1
aco:NumberSI
foeBinaryNumberSystem3
jIyotem3
HexadecimalRepresentation6
presentation6
ASCllCode7
PCComDonents8
ponents8
InternalMemory10
j10
RocrmporitsandAddressinZ1,
begmentsandAddressing12
.InentsandAddressing12
Registers13
.lsters13
Hardwareinterrupts18
KeVPoints]9
yPoints19
ReviewQuestionsandExercises19
2INSTRUCTIONADDREssiNGANDEXECUTION22
Introduction22
FeaturesofanOperatingSystem22
peratingSystem22
.Contents
IV
alATalOO-,7
sheBIOSBootProcess23
Icq1TRrDWrnTl,4
sheSystemProgramLoader24
totemProgramLoader24
acaaml,<
foeStack25
InstructionExecutionandAddressing27
InstructionOperands29
ProtectedMode29
KeyPoints30
J
ReviewQuestionsandExercises30
3EXAMININGCOMPUTERMEMORYANDEXECUTINGINSTRUCTIONS32
Introduction32
UsingtheDEBUGProgram32
ViewingMemoryLocations34
MachineLanguageExamplei:UsingImmediateData36
MachineLanguageExampleII:UsingDefinedData40
AnAssemblyLanguageProgram44
UsingtheINTInstruction45
UsingthePTROperator47
KeVPoints48
JPoints48
ReviewQuestionsandExercises49
PartBFundamentalSofASSemblyLanguage51
4REQUIREMENTSFORCODINGINASSEMBleLANGU^oE51
Introduction51
AssemblyLanguageFeatures52
ConventionalSegmentDirectives58
Qimrilifipodaeon
simplifiedSegmentDirectives62
InitializingforProtectedMode64
DefiningTypesofData65
EquateDirectives70
KeyPoints72
yPoints72
ReviewQuestionsandExercises73
5ASSEMBLING,LINKING,ANDEXECUTINGPROGRAMS74
Introduction74
PreparingaProgramforAssemblingandExecution74
macalhiR1
fwo-PassAssemblersl
LinkinganObjectProgramsl
ExecutingaProgram83
ac
foeCross-ReferenceListing84
ErrorDiagnostics84
alehiT.
foeAssemblerLocationCounter85
Writing.COMPrograms86
Contentsv
KeyPoints89
yPoints89
ReviewQuestionsandExercises90
6SYMBOLICINSTRUCTIONSANDADDRESSING92
Introduction92
acq-11.T.
foeSVmbolicinstructionSet--AnOverview92
JlnbolicinstructionSet--AnOverview92
DataTransferinstructions95
BasicArithmeticinstructions97
RepetitiveMoveOperations98
'.
acTNTInstfuction100
foeINTInstruction100
AddressingModes100
e,dodes100
acq
foeSegmentOverridePrefix104
.InentOverridePrefix104
NearandFarAddresses105
AligningDataAddresses105
.mugDataAddresses105
KeyPoints]06
jPOints106
ReviewQuestionsandExercises106
7PROGRAMLOGICANDCONTROL109
Introduction109
Rhoft,Near,andFarAddresses110
short,Near,andFarAddresses110
alT'-nr.
foeJMPInstruction111
acTaamT.
foeLOOPInstruction113
acalaco.
foeFlagsRegister114
baRegister114
ac
foeCMPInstruction115
ConditionalJumpinstructions116
I
CallingProcedures119
bProcedures119
acaam
foeEffectofProgramExecutionontheStack121
brainExecutionontheStack121
BooleanOperations125
shiftingaide1aam
shiftingBits128
bBits128
RotatingBits131
oBits131
OrganizingaProgram133
.antiingaProgram133
KeyPoints134
jIolnts134
ReviewQuestionsandExercises135
PartCVideoandK6yboardOperations137
8INTRODUCTIONTOVIDEOANDKEYBo^RDPROCESSING137
Introduction137
qFeatures138
screenFeatures138
qrrttiriatheCursor138
bettingtheCursor138
oLheCursor138
ClearingtheScreen139
gtheScreen139
INTZIHFunction09HforScreenDisplaV139
play139
INT21HFunctionOAHforKeVboardInDut141
JDoardinput141
INT21HFunction02HforScreenDisplay147
-aamriforitc
yicontents
FileHandles148
INTZIHFunction40HforScreenDisplay148
INTZIHFunction3FHforKeyboardinput149
KeVPoints151
jIOlnts151
ReviewQuestionsandExercises151
--
9VIDEOSySTEMS153
Introduction153
ComponentsofaVideoSystem154
VideoModes156
Attributes156
BIOSINTIOHOperations158
UsingGraphicsMode175
DirectVideoDisplay179
ASCllCharactersforBoxesandMenus182
KeyPoints183
JPoints183
ReviewQuestionsandExercises184
10KEYBo^RDOPER^rlONS186
Introduction186
BIOSKeVboardDataAreas187
JboardDataAreas187
INT21HforKeyboardinput188
INT16HforKeyboardinput189
ExtendedFunctionKeysandScanCodes192
BIOSINT09HandtheKeyboardBuffer197
KeyPoints199
jIolnts199
ReviewQuestionsandExercises201
PartDDataManipulation203
11PROCESSINGSTRINGD^r^203
Introduction203
FeaturesofStringOperations204
MOVSfMoveStringinstruction205
LODStLoadStringinstruction207
ITOS:StoreStringinstruction207
ofOS:StoreStringinstruction207
ProgramfUsingLODSandSTOStoEditData208
CMPSfCompareStringinstruction209
ICAS.ScanStrinZInstruction213
.CAS.ScanStringinstruction213
AlternativeCodingforStringinstructions214
ReplicatingaPattern215
KeVPoints215
JPoints215
ReviewQuestionsandExercises216
Contentsvii
12ARITHMETICI'PROCESSINGBINARYD^r^218
Introduction218
ProcessingUnsignedandSignedBinaryData218
b.liedandSignedBinaryData218
AdditionandSubtractionofBinaryData220
jData220
MultiplyingBinaryData225
.
DividingBinarVData232
bBinaryData232
alNumericDataProcessor237
foeNumericDataProcessor237
KeVPoints239
JPoints239
ReviewQuestionsandExercises239
13ARITHMETIC114PROCESSINGASCllANDBCDDATA241
Introduction241
DatainDecimalFormat242
ProcessingASCllData242
bASCllData242
ProcessingPackedBCDData247
oPackedBCDData247
ConvertingASCllDatatoBinaryFormat250
oASCllDatatoBinaryFormat250
ConvertingBinaryDatatoASCllFormat251
oBinaryDatatoASCllFormat251
qhiftiricroridRoundinl
ofliftinRandRoundingaProduct252
oandRoundingaProduct252
KeyPoints257
J
ReviewQuestionsandExercises258
14DEFININGANDPROCESSINGTABLES259
Introduction259
DefiningTables259
ofables259
DirectAddressingofTableEntries261
RoqrnhiricrqTable.
searchingaTable264
bafable264
acarT'm/m1'
foeXLAT(Translate)Instruction268
QrartiriaTableaam
bortingTableEntries271
otableEntries271
AddressTables274
Ti-,ri..1^laal
fwo-DimensionalArrays275
y3275
KeyPoints278
JIolnts278
ReviewQuestionsandExercises278
PARTEAdvancedInput,Output281
15FACILITIESFORUSINGTHEMOUSE281
Introduction281
BasicMouseOperations283
Program:DisplayingtheMouseLocation284
MoreAdvancedMouseOperations287
perations287
Program:UsingtheMousewithaMenu290
KeVPoints293
yPoints293
ReviewQuestionsandExercises294
...nrintents
viIIcontents
16DISKSTOR^oEI'ORGANIZ^rlON295
Introduction295
CharacteristicsofaDiskStorageDevice295
acfbiFIq-,
foeDiskSystemAreaandDataArea299
yalemAreaandDataArea299
alnn17fin
foeBootRecord300
acacid
foeDirectorV301
J
acail111.acalin
sheFileAllocationTable302
ProcessingFilesonDisk307
KeyPoints308
yPoints308
ReviewQuestionsandExercises308
17DISKSTOR^oEII:WRITINGANDREADINGFILES310
Introduction310
ASCllZStrings310
FileHandles311
ErrorReturnCodes311
FilePointers311
CreatingDiskFiles312
ReadingDiskFiles314
RandomProcessing318
KeVPoints327
jIolnts327
ReviewQuestionsandExercises328
18DISKSTOR^oEIll.INT21HFUNCTIONSFORSUPPORTINGDISKSANDFILES330
Introduction330
OperationsHandlingDiskDrives331
OperationsHandlingtheDirectoryandtheFAT341
OperationsHandlingDiskFiles343
KeVPoints349
JPoints349
ReviewQuestionsandExercises352
19DISKSTOR^oEIVyINT13HDISKFUNCTIONS353
Introduction353
BIOSStatusByte354
BasicINT13HDiskOperations354
OtherINT13HDiskOperations358
KeyPoints362
jIolnts362
ReviewQuestionsandExercises363
20FACILITIESFORPRINTING364
Introduction364
CommonPrinterControlCharacters364
INTZIHFunction40H:PrintCharacters365
COntentsix
IX
qripniofPriritrvrConl
specialPrinterControlCharacters369
BIOSINT17HFunctionsforPrinting373
KeyPoints374
jIolnts374
ReviewQuestionsandExercises375
PartFSpecialropies377
ZIDEFININGANDUSINGMACROS377
Introduction377
qirnrileMacroDefinitions378
dimpleMacroDefinitions378
UsingParametersinMacros379
bParametersinMacros379
UsingCommentsinMacros380
6
NestedMacros382
MacroDirectives383
KeVPoints391
jIOlnts391
ReviewQuestionsandExercises392
22LINKINGTOSUBPROGR^MS393
Introduction393
acgb
foeSEGMENTDirective394
IntrasegmentCalls395
IntersegmentCalls396
.InentCalls396
TheEXTRNandPUBLICAttributes397
UsingEXTRNandPUBLICforanEntrVPoint398
bacFRNandPUBLICforanEntryPoint398
DefiningtheCodeSegmentasPUBLIC400
btheCodeSegmentasPUBLIC400
UsinZSimDlifiedSeZmentDirectives402
osimplifiedSegmentDirectives402
PassingParameterstoaSubprogram404
bParameterstoaSubprogram404
TheENTERandLEAVEInstructions406
LinkingaC/C++ProgramwithanAssemblyLanguageProgram408
baC/C++ProgramwithanAssemblyLanguageProgram408
KeyPoints412
JPoints412
ReviewQuestionsandExercises412
23PROGRAMLo^DINGANDOVERL^vS414
Introduction414
TheProgramSegmentPrefix414
TheHiZh-MemoryArea418
.if-MemoryArea418
MemoryAllocationStrategy418
JallocationStrategy418
TheProgramLoader419
AllocatingandFreeingMemory424
bandFreeingMemory424
LoadingorExecutingaProgramFunction425
boaProgramFunction425
ProgramOverlaVs428
cramOverlays428
ResidentPrograms432
KeyPoints435
yPoints435
ReviewQuestionsandExercises436
xContents
PartGReferenceChapters437
24BIOSD^r^AREAS,INTERRUPts,ANDPORes437
Introduction437
acP
YheBootProcess437
acpTriqno+o4~4
foeBIOSDataArea438
InterruptServices442
BIOSInterrupts443
pts443
INT21HServices446
Ports451
qttiriqTnrilltloutl
oninginput/OutDUt453
oInput/Output453
GeneratingSound454
KeVPoints455
JPoints455
ReviewQuestionsandExercises456
25OPER^rORSANDDIRECTIVES458
Introduction458
yi,aam.G4FR
YVpeSpecifiers458
apeSpecifiers458
Operators459
Directives463
26THEPCINSTRUCTIONSET479
Introduction479
RegisterNotation480
acIIl-.A'In1Tt4
foeAddressingModeByte480
o.bodeByte480
acTabof~'1.
foeinstructionSet483
APPENDICES
ACONVERSIONBEtwEENHEXADECIMALANDDECIMALNUMBERS508
BASCllCHAR^cTERCODESsl1
CTHEDEBUGPROGRAM513
DRESERVEDWORDS520
EASSEMBLINGANDLINKINGPROGRAMS522
FKEYBo^RDSc^NCODESANDASCllCODES528
INDEX533

相關詞條

熱門詞條

聯絡我們