NASM tutorials

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
hrr

NASM tutorials

Post by hrr »

I want some really good NASM tutorials. Please tell me some. I am a beginner of assembly language. So, tell me appropriate sites.
One more thing :
I know this is a really dumb question :
I want to do 32-bit ASM programming. So is NASM the correct assembler ?
K.J.

Re: NASM tutorials

Post by K.J. »

I want to do 32-bit ASM programming. So is NASM the correct assembler ?

NASM can handle both 16-bit and 32-bit code(you specify with BITS 32 or BITS 16)

Some really good NASM tutorials? There are none that are NASM specific that I know about. If you want some links to general assembly programming tutorials then I suggest that you go here:
http://www.azillionmonkeys.com/qed/asm.html

And then there is the Art of Assembly book:
http://webster.cs.ucr.edu/Page_asm/Arto ... ofAsm.html
(viewable online, do be warned that only about the first 4 chapters are useful if you're using NASM and yes, you can skip chapter 2).

If you don't yet know/understand Hexadecimal and Binary, then I suggest that you read my Computers and Numbering Systems tutorials:
http://surf.to/osdev
(under docs and tutorials)

I hope that helps you get started,
K.J.
Post Reply