《ASSEMBLY LANGUAGE PRIMER FOR THE IBM PC & XT》

Introduction1

Is Assembly Language Really so Hard to Learn?2

Why Is This Book Unusual?2

Why Learn Assembly Language on the IBM PC?3

Who This Book Is For3

The Approach Used in This Book11

Assembly Language and Debug13

Assembly Language and Higher-Level Languages13

Microprocessors18

DEBUG Versus the Assembler19

The Window of the 8088's Soul21

Getting DEBUG Rolling21

Summary28

2 Instant Program29

Writing Your First Program29

Running the Program34

What an Assembler Really Does35

Assembly-Language Instructions37

Summary50

3What Is Assembly Language?51

Filling in Details52

Registers55

ASCII Display Program60

Some Sound Advice68

Summary81

4 Inside DOS--The Disk Operating System82

The Parts of DOS92

DOS Functions96

Writing to the Printer107

Summary118

5 Introduction to the IBM MACRO Assembler119

MASM and ASM120

What Does an Assembler Do?121

Assembling Your First Program125

Assembling SMASCII2133

Using a Batch File to Speed Assembly142

Summary145

6Using the IBM MACRO Assembler147

The BINIHEX Program148

New Instructions154

Using DEBUG's Trace Command165

The DECIBIN Program170

The DECIHEX Program183

Cross-Reference: Using the CREF Program187

Summary191

7 How Does It Sound?192

Why Use Sound?193

The White Noise Program193

The Machine Gun Program197

Generating Sound with the Timer208

Controlling Sound with the Keyboard215

Summary230

8 Memory Segmentation and EXE Files231

Memory Segmentation232

The PSTRING Program237

The PIANO Program as an EXE File249

The EXEFORM Program--A Nonprogram252

Segmentation and the String-Handling Instructions258

The Compare Strings Program262

Summary272

9 Inside the ROM273

Scan Codes and the Keyboard278

Video ROM Routines285

Summary293

10 Monochrome and Color Graphics294

Graphics Modes in the IBM PC295

Memory-Mapped Graphics297

Color Graphics309

Drawing Lines329

Summary344

11Reading and Writing Disk Files345

The Historical Perspective346

Floppies and the Fixed Disk347

Sequential Access349

Random Access373

Random Block Access378

Summary384

12 File Handle Disk Access385

Features of File Handle Access385

The ZOPEN Program388

The ZREAD Pragmm396

Writing to a File401

Getting to the Middle of a File408

Summary411

13 Interfacing to BASIC and Pascal412

General Interfacing Considerations413

Interfacing to BASIC with USR416

Interfacing to BASIC with CALL437

Interfacing to Pascal444

Summary452

Appendix A-Hexadecimal Numbering453

What Is a Numbering System?453

What Numbering System Do Computers Like?454

Appendix B-Supplementary Programs463

MEMSCAN463

HEXIDEC469

PRIME472

The Birthday Programs477

SAVEIMAG494

Index499

《ASSEMBLY LANGUAGE PRIMER FOR THE IBM PC & XT》由于是年代较久的资料都绝版了,几乎不可能购买到实物。如果大家为了学习确实需要,可向博主求助其电子版PDF文件。对合法合规的求助,我会当即受理并将下载地址发送给你。