What is the best resource for learning (N)ASM?

拟墨画扇 提交于 2019-12-20 10:59:32

问题


I've been wanting to learn assembly for a while now, and although I've tried a few times before, I haven't really been able to get past "Hello, world". Are there any good introductory tutorials to assembly (preferably using NASM, as I use Windows and Linux)?

I do have a bit of C knowledge, but mainly code in higher-level languages such as Ruby, Python, C# and JavaScript.


回答1:


For my Assembly language class, we're using the book that Bill recommends. My professor also recommended this book: Assembly Language Step-by-step: Programming with DOS and Linux. He said that this is the only book that he knows of that covers NASM (and it's a tad outdated).




回答2:


Here's an interesting page from a former teacher. http://drpaulcarter.com/pcasm/

I haven't read through his online book, though.




回答3:


I have tried a few assemblers, and I found FASM is the most beginner-friendly. It has a somewhat bad macro language, but otherwise it is an excellent piece of software. It supports both Windows and Linux object formats (either 32 or 64 bit). It has an active and good community, and plenty of beginner-friendly examples.




回答4:


Not specifically for NASM, but The MASM Forum has a lot of great information, and you will get more assistance if you ask your question their.




回答5:


Unfortunately, there is not so much good places and books to learn nasm. But some of them we have:

Resources:

  • Of course official documentation
  • Low-Level Programming: C, Assembly, and Program Execution on Intel ® 64 Architecture
  • Assembly Language for Intel-Based Computers(Kip R. Irvine)
  • Introduction to 64 Bit Intel Assembly Language Programming for Linux(Benjamin Ray Seyfarth)

This list will be updated as soon as I'll find new good resources.



来源:https://stackoverflow.com/questions/421631/what-is-the-best-resource-for-learning-nasm

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!