NASM fasm yasm or MASM, gas

Source: Internet
Author: User

Leave a claw and learn later

Select compiler
Nasm? Fasm Yasm? Or is it masm, gas or something?

The first three are free, open-source compilation compilers that use Intel's syntax in general. Yasm was developed on the basis of NASM, with NASM ancestry. Because the same syntax is used, the NASM code can be compiled directly with Yasm.

Yasm Although the update is slow, but the nasm some unreasonable places to improve. From this point of view, Yasm is better than NASM, and the NASM update is fast enough to support the updated instruction set. On the Windows platform, FASM is another good choice, platform support is good, can be used directly to develop programs on Windows, syntax is also more unique. In support of the Windows program architecture, FASM is the best in 3 free compilers.

MASM, the assembler compiler released by Microsoft, has now ceased to be released separately and is fused into Visual Studio products. Gas is a free, open-source compilation compiler on the Linux platform, using the assembler syntax of AT-T, which is cumbersome to use.

Since the example of this book is run directly on the naked machine, the author uses NASM, because its syntax is relatively concise, the use method is simple, the update speed is very fast. However, if you use NASM to write Windows programs is more painful, this aspect of the document is very few.

You can download the latest version from NASM's official website: Http://www.nasm.us/pub/nasm/releasebuilds/?C=M, or browse and download its documentation: http://www.nasm.us/docs.php.


Reference:

Http://book.2cto.com/201209/5464.html
http://blog.csdn.net/broadview2006/article/details/8176974
http://blog.csdn.net/broadview2006/article/details/8181182
http://blog.csdn.net/broadview2006/article/details/8058755

Programming ing: everyone can learn programming

http://blog.csdn.net/broadview2006/article/details/7789622

Technology to support the processor-a world of endless pursuit of speed

http://blog.csdn.net/broadview2006/article/details/8174696

-----------------------------------------

In particular, two open source software that needs to be supplemented is: Freedos,minigui

NASM fasm yasm or MASM, gas

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.