目錄
PREFACE
Part A Fundamentals of PC Hardware and Sofware
I Basic FEATURES OF PC HARDWARE
Introduction 1
Bits and Bytes 1
The Binary Number System 3
Hexadecimal Representation 6
ASCII Code 7
PC Components 8
Internal Memory 10
Segments and Addressing 12
Registers 13
Hardware Interrupts 18
Key Points 19
Review Questions and Exercises 19
2 INSTRUCTION ADDRESSING AND EXECUTION
Introduction 22
Features of an Operating System 22
The BIOS Boot Process 23
The System Program Loader 24
The Stack 25
Instruction Execution and Addressing 27
Instruction Operands 29
Protected Mode 29
Key Points 30
Review Questions and Exercises 30
EXAMINING COMPUTER MEMORY AND EXECUTING INSTRUCTIONS
Introduction 32
Using the DEBUG Program 32
Viewing Memory Locations 34
Machine Language Example I:
Using Immediate Data 36
Machine Language Example II:
Using Defined Data 40
An Assembly Language Program 44
Using the INT Instruction 45
Using the PTR Operator 47
Key Points 48
Review Questions and Exercises 49
Part B Fundamentals of Assembly Language
4 REQUIREMENTS FOR CODING IN ASSEMBLY LANGUAGE
Introduction 51
Assembly Language Features 52
Conventional Segment Directives 58
Simplified Segment Directives 62
Initializing for Protected Mode 64
Defining Types of Data 65
Equate Directives 70
Key Points 72
Review Questions and Exercises 73
5 ASSEMBLING,LINKING,AND EXECUTING PROGRAMS
Introduction 74
Preparing a Program for Assembling and Execution 74
………………………………