The textbook deals with programming in assembly language for computers based on microprocessors Intel. The book is the material that is part of the course, read by the author at a university and dedicated to the issues of system programming. Compared with the previous book, the author - «Assembler: a training course", the book is substantially revised. It adds sections on programming under Windows, and the description of the command processor Pentium III.
The book aims to solve a complex problem - not simply consider the assembler as one more of the hundreds of programming languages, but to show the inextricable link of his designs with the architecture of the microprocessor. The material of the book contains a description of the main features of the architecture and instruction set microprocessors Pentium Pro / MMX / R / W.
The presentation material is in the form of lessons. Logically, the book is divided into three parts.
The first part of the book covers the basics of assembly language. It consists of eleven classes.
The first two lessons of the reader learns that a modern computer, which includes the concept of the architecture of the microprocessor and the computer in general. In reviewing this material becomes apparent role as the voice of assembly language computer architecture.
The third and fourth lessons of the reader acquainted with the typical program in assembly language and understand what constitutes a "assembly" programming level. The reader will also get acquainted with the means of creating executables. In addition, the fourth lesson the reader learns about the debugging tools.
In the fifth and sixth lessons the reader learns how to program in assembly language issue, and get acquainted with its syntax. At the end of the sixth class the reader acquainted with the classification of integral machine instructions, in accordance with which they will be carried out in the subsequent discussion of the lessons (Lessons 7-11).
The second part of the book, beginning with Lesson 12, is devoted to in-depth study of issues programming using assembly language. So, the lesson 12 the reader to learn more about the means for assembly work with data structures that are characteristic of high-level languages \u200b\u200b(such as Pascal and C).
In lesson 13 the reader in great detail to get acquainted with a very useful tool assembly language - macromedia.
Lesson 14 is dedicated to the organization of modular programming using assembly language. It describes in detail all the subtleties of individual communication programs written in assembly language. Then it is shown that these principles are valid and binding programs in assembly language programs in other languages.
Lessons 15-17 view mode of the microprocessor, the organization of its interaction with other computer devices. This information may not be claimed immediately, but it will allow the reader to intelligently approach the issue of programming on a computer, even without the use of assembly language.
The third part of the book are lessons 18-20.
Lesson 18 examines the process of development of desktop applications for Windows. Having mastered the material in this lesson, you will learn how to create complete Windows-based applications, which will be no worse than those that are written in the traditional way - a high level language. Console Windows-based applications are not forgotten, but their development is not too much difficulty, so they are considered on the example of a specific task in the lesson 20.
Lesson 19 examines the programming device with floating point (coprocessor). This additional device processor can significantly improve the convenience and quality of the programming of computational problems. The coprocessor is often used for calculations in problems of computer graphics. Therefore, in this lesson you an example application Windpws-producing graphical output calculated coprocessor.