Current location - Education and Training Encyclopedia - Graduation thesis - Briefly introduce assembly language programming.
Briefly introduce assembly language programming.
The better compiled books are: Wang Shuang's Assembly Language and Yang Jiwen's 80X86 Assembly Language Programming. If you look at the assembly without looking at the program design of the protection mode, the assembly will be learned in vain, so the protection mode is very important. Of course, this is also the basis for compiling some applications, such as software decryption and driver writing. With a good book, you will get twice the result with half the effort. There must be an implementation of HELLO WORLD in these books. Learning assembly begins with learning the number system, and the conversion of various number systems is of course a very important foundation. Then learn the basic 8086 instruction, three sentence forms of programming (sequence, loop and selection), then learn to call some system functions of DOS to realize simple programs, and finally enter the most important part of protected mode programming and start learning 80386 instructions. I won't say much, there is still a long way to go, and Xiu Yuan is Xi. The above just stays in the DOS era, and has not yet entered the complex windows world. Windows is VISTA now.

In fact, assembly is not so mysterious, but many people are used to high-level language things, and then they are not used to it, because many things have to be done by themselves. Include stack balancing, etc. Since the landlord must do it, he answered two questions, what and why. Next thing you know, Haw died. At that time, the learning of programming depended more on computer practice. Easy to assemble, this is an assembly integration environment developed by college students, and beginners can use it. Debugging is the most important thing in learning programming, and debugging at assembly code level is also the key to software decryption. So after learning assembly, the higher level is to understand other people's programs, of course, not from the source code, but from the disassembly code. Protected mode is very important, because under windows, I definitely can't get protected mode. I don't know if I can call the program from real mode to protected mode under cmd. I haven't tried it. I don't think it will work. If not, you can install a virtual machine, install DOS in it, write programs in windows, make ISO files, and then enter DOS to compile and execute protected mode programs. That's what I did. I wonder if there is any other simpler way. You can explore for yourself. The above is my personal opinion for your reference.