LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (http://www.linuxquestions.org/questions/programming-9/)
-   -   A good asm tutorial? (http://www.linuxquestions.org/questions/programming-9/a-good-asm-tutorial-801018/)

MTK358 04-09-2010 08:08 AM

A good asm tutorial?
 
I wonder if you know of any good assembly language tutorials, using NASM under Linux?

Alexvader 04-09-2010 09:23 AM

Hi MTK358 :D

There's one written by a Russian dude... :D has a lot of stuff about perl too :D, ROFL, i can send it to you in PDF...

Just kiddin here... :)

Honestly I do not know... but isn't that CPU specific...? I mean... should be a part of Motorola, or Intel or AMD CPU documentation... IMHO...


BRGDS

Alex

pixellany 04-09-2010 09:33 AM

MTK;
Why isn't this in Programming?

Regardless, I would think that any book on basic ASM programming would be relevant---ie it does not need to be specific to Linux, NASM, etc.

Have you looked at O'Reilly and Amazon?

penguiniator 04-09-2010 09:42 AM

http://www.asmcommunity.net/book/ might be a good place to start.

smeezekitty 04-09-2010 12:47 PM

Asm tutorals never worked for me.
I learned by makings hundreds of tiny C programs and compiling them to asm and looking them over.

MTK358 04-09-2010 04:24 PM

Quote:

Originally Posted by smeezekitty (Post 3930150)
Asm tutorals never worked for me.
I learned by makings hundreds of tiny C programs and compiling them to asm and looking them over.

How do you do that?

And by the way, is it possible to have it output NASM instead of GAS?

smeezekitty 04-09-2010 05:12 PM

-S switch.
-masm=intel will make intel syntax that compiles in nasm.

Tinkster 04-09-2010 09:41 PM

Moved: This thread is more suitable in <PROGRAMMING> and has been moved accordingly to help your thread/question get the exposure it deserves.


All times are GMT -5. The time now is 11:14 AM.