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