السلام عليكم
قلت سابقا إني نويت أن اقتحم هذه اللغة بكل قوة إن شاء الله ، ولكني كنت في حيرة من أمري ، لأني كنت أبحث عن أقوى وأحسن assembler ، إلى غير كنت أريد أن أعرف syntax واحدة كي لا تتداخل الأمور في بعضها ، لذلك وجدت ضالتي مع NASM وسوف أقوم لكم بسرد تعريف له مع مميزاته ، الموجودة في الكتاب الذي يشرحه ، وطبعا هو مجاني لذلك لا يوجد تحيز له من أجل كسب المال
والموقع الرئيسي له هو:
وسوف تجدون الكتاب الخاص به في رابط فرعي في نفس هذا الرابط ، أو ادخل هنا مباشرة
http://nasm.sourceforge.net/wakka.php?wakk...mentation&v=9ly
وهو يعمل مع جميع أنظمة التشغيل ، وأيضا يعمل على 32,61 bit
هذا تعريف بالأسيمبلر
What Is NASM? The Netwide Assembler, NASM, is an 80x86 assembler designed for portability and modularity. It supports a range of object file formats, including Linux and NetBSD/FreeBSD a.out, ELF, COFF, Microsoft 16−bit OBJ and Win32. It will also output plain binary files. Its syntax is designed to be simple and easy to understand, similar to Intel’s but less complex. It supports Pentium, P6, MMX, 3DNow!, SSE and SSE2 opcodes, and has macro capability.
وهذا مقارنة بينه وبين الأسيمبلرات الأخرى:
Why Yet Another Assembler? The Netwide Assembler grew out of an idea on comp.lang.asm.x86 (or possibly alt.lang.asm – I forget which), which was essentially that there didn’t seem to be a good free x86−series assembler around, and that maybe someone ought to write one. • a86 is good, but not free, and in particular you don’t get any 32−bit capability until you pay. It’s DOS only, too. • gas is free, and ports over DOS and Unix, but it’s not very good, since it’s designed to be a back end to gcc, which always feeds it correct code. So its error checking is minimal. Also, its syntax is horrible, from the point of view of anyone trying to actually write anything in it. Plus you can’t write 16−bit code in it (properly). • as86 is Minix− and Linux−specific, and (my version at least) doesn’t seem to have much (or any) documentation. • MASM isn’t very good, and it’s (was) expensive, and it runs only under DOS. • TASM is better, but still strives for MASM compatibility, which means millions of directives and tons of red tape. And its syntax is essentially MASM’s, with the contradictions and quirks that entails (although it sorts out some of those by means of Ideal mode). It’s expensive too. And it’s DOS−only. So here, for your coding pleasure, is NASM. At present it’s still in prototype stage – we don’t promise that it can outperform any of these assemblers. But please, please send us bug reports, fixes, helpful information, and anything else you can get your hands on (and thanks to the many people who’ve done this already! You all know who you are), and we’ll improve it out of all recognition. Again.
فبدلا من اللف والدوران حول المترجمات الأخرى من tasm,masm,gas ، فإن NASM هو الأفضل .
والسلام عليكم
برق