"Assembly language" - Wang Shuang Introduction

2019-12-27

23:28:17

Preface:

Assembly language is an important foundation for many courses (such as data structures, operating systems, computer theory, etc.). In fact, only from the point of view of course discuss the importance of the relationship between assembly language is too one-sided, in a nutshell, if you want to engage in scientific work computer, the assembler language foundation is essential.

... to achieve the two most fundamental purpose of study compiled: full access to the underlying programming experience, a deep understanding of the mechanism of the machine to run the program. Both objective was achieved, other purposes will naturally reached. For example, when you learn the operating system and other programs, many of the issues will have very transparent understanding.

 

Pure 8086PC machine does not exist anymore, but now any of a PC microprocessor, and Intel-compatible as long as the series, the 8086 can be the way to work.

 

Do we often feel this way? I am serious about learning a more difficult course, but they often do not know to see the contents of the book; sometimes feel understand, and yet there is always a feeling of not transparent, that the contents of the book and then look again, can not go deep a. These cases illustrate, we did not really learn in a progressive manner.

The root cause lies not learn step by step: learner materials used does not really constructed according to the principle of gradual and orderly progress. This is not a simple question, not by the traditional method divided about the chapter can be resolved.

Some need to have programming experience to in-depth understanding of, or without specific programming simply can not understand, programmable to be in later chapters ....

2. The book structure:

Because this book has a strong clue of learning must be carried out in accordance with the teaching of the trail, there are two principles must be observed: 1. Do not learn down through the check point; 2 did not complete the current experiment not down. Learn.

3. Content and teaching core features:

(1).

(2): programming hardware platform is not the operating system

This is particularly important, a direct impact on teaching later operating systems. We must pass certain programming practices, experience a bare-metal environment, in an environment with no operating system directly on the hardware programming. Such an experience and experience is very important, so that we can truly appreciate the role of assembly language, and see no operating system, the computer system is like. This has laid an important foundation for future learning operating system.

(3) that focused on the important instructions and key concepts:

All contents of the book revolves around "in-depth understanding of the basic principles of operation of the machine" and "training program underlying meaning and thought" These two core objectives carried out. And for all the two goals are not closely related content, they have been discarded. So that students can focus on truly understand and grasp those instructions and key concepts of universal significance.

The book on deep into the essence level of important instructions and key concepts were explained and discussed. These instructions and concepts have: jmp, conditional branch instructions, call, ret, stack instruction, int, iret, cmp, loop, segmentation, addressing and so on.

Guess you like

Origin www.cnblogs.com/JasonPeng1/p/12110057.html