Does anyone know any good NASM or FASM tutorials? I am trying to learn assembler but I can't seem to find any good resources on it.
相关问题
- Null-terminated string, opening file for reading
- What's the difference between 0 and dword 0?
- Translate the following machine language code (0x2
- Where can the code be more efficient for checking
- NASM x86 print integer using extern printf
相关文章
- How to generate assembly code with gcc that can be
- Select unique/deduplication in SSE/AVX
- Optimising this C (AVR) code
- Why does the latency of the sqrtsd instruction cha
- Difference in ABI between x86_64 Linux functions a
- x86 instruction encoding tables
- Why doesn't there exists a subi opcode for MIP
- Tool to Debug Guest OS in Virtual Box
There is a free book on assembly language by Dr. Paul Carter. It's based on NASM. http://www.drpaulcarter.com/pcasm/
There are some interesting collections of sample programs at
For Windows tutorials, these are the best I know of: http://win32assembly.programminghorizon.com/tutorials.html
Also translated to fasm syntax in this fasm forum post: http://board.flatassembler.net/topic.php?t=2158
There is e.g. Writing A Useful Program With NASM and of course the obvious http://www.nasm.us/doc/nasmdoc3.html.
There are a couple of sample programs at http://www.csee.umbc.edu/help/nasm/sample.shtml
If you are looking for a more general introduction to assembly programming there is The Art of Assembly Programming and the wikipedia page on NASM references Assembly Language Step by Step by Jeff Duntemann.
I'm just learning too, and just found this the other day.
The Art of Assembly Language Programming
I haven't read it all, but I've used bits of it.
FASM
This is not an Tutorial but it is very helpful:
http://flatassembler.net/docs.php?article=manual
consider also to take a look at the examples that comes with the language.
There is also a forum with plenty of informations (about various Topics)
http://board.flatassembler.net/index.php
Here is a Beginner FAQ with all relavant informations for beginners:
http://board.flatassembler.net/topic.php?t=2530