Introduction to Win32 compilation development environment and RadAsm concise tutorial

Source: Internet
Author: User

Now many of my friends are learning to compile Language On the one hand, assembly language is a required course for university computer courses, and on the other hand, it is to transfer from other languages to assembly language. For whatever reason, I think it is very interesting to learn assembly language, learning it not only provides a deep understanding of the internal performance of the programming language, but also the way to further understand the operating system. However, many friends do not know how to develop Windows-based window programs using the assembly language. Now 64-bit CPU is already in use, and the compilation that they learned in school is the 8086/8088 assembly language ten years ago, not only is the DOS-based 16-bit assembly language, but the MASM for development programs does not support 32-bit. So many of my friends feel that they haven't learned compilation at school, because they have learned Knowledge It cannot be used on a Windows platform at all or does not know how to use it.

Some of my friends have learned other languages, such as VB, Delphi, and C ++. Learning But want to learn assembly language, because learning encryption and decryption and reverse engineering assembly is a required language. In addition, if it is the pursuit of program efficiency and flexibility, compilation is the best choice.

It is not difficult to learn the basis of the assembly language. What is difficult is how to use it. How to Use the Assembly Language in Windows to solve some practical application problems is what many friends want to know. It is necessary to mention the Win32 assembly programming method. The so-called win32asm is to use the assembly language to directly call the API functions provided by the Windows system, without any restrictions or encapsulation. Nowadays, many languages have more or less encapsulated API functions. For example, the MFC in the familiar VC encapsulates many API functions into member functions of the class, VB is more encapsulated. If you already have experience using API functions, if you already have the basis of the assembly language, you only need to change the environment to win32asm, and there is no other obstacle in front of you. So how can we learn programming in the Windows environment based on the existing assembly? Are there any articles or materials in this regard? Very few! But they are all excellent products. The entry classic in the Win32 compilation industry is the Win32 compilation tutorial of iczelion. Its English and Chinese versions are downloaded online at the same time. If they cannot be found, send an email to me. Another is the download of the PDF file of the book on the 32-bit assembly language programming in Windows compiled by Luo yunbin in China. However, neither of the two tutorials introduced the use of the compilation IDE in the Windows environment. Luo yunbin's book still recommends that you use makefile to manually compile the program, while editplus is used for source code editing. To be honest, when a person is familiar with one environment, there will always be comparisons in another environment, and the comparison result is: it is still so troublesome to use assembler programs, I am used to integrated development environments in Windows environments such as VB and VC. It is really a bad start to integrate and edit, compile, connect, run, debug, and other tools by myself. Isn't there a compilation integrated development environment similar to VB and VC? Or that sentence: few, but they are all excellent products! RadAsm is used by most people. The latest version is RadAsm 2.2.0.3d (09-14-2005). The whole program is like a well-known VB development interface, and a project can be created in wizard mode like VC. Keyword coloring, Automatic completion of API functions, and so on. All functions are available in common development environments. It supports multiple compilation compilers. Currently, it supports MASM, tasm, NASM, FASM, goasm, and HLA (high level assembly). It also supports many languages. Another notable compilation IDE is winasm, and the latest version is winasm v5.0.4.142. It is also an excellent compilation development environment. To be honest, I personally feel that it is not very different from RadAsm, regardless of the development interface and functions. The number of user groups may be caused by different personal preferences. Unfortunately, it is only available in English and only supports MASM. Another well-known version is easy code. The latest version is easy code 1.00.0.0029 (9-23-2005). This development environment seems to be a close friend of the VB environment, because when I saw it for the first time, I thought that I opened VB, which is very similar. Besides, it encapsulates windows and controls. For example, you can directly jump to the code editing line of a button by double-clicking the button created in the VB window, this easy code also has the same function.

All the above are foreign ides. Is there any domestic ide? Yes, I only know aogosoft's masmplus. I believe many of my friends know that. This small masmplus is concise, but has powerful editing functions. As it is still under development, only the beta version is available. If you are interested, you can download it from the above homepage.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.