LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 04-09-2010, 08:08 AM   #1
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713
A good asm tutorial?


I wonder if you know of any good assembly language tutorials, using NASM under Linux?
 
Old 04-09-2010, 09:23 AM   #2
Alexvader
Member
 
Registered: Oct 2009
Location: Japan
Distribution: Arch, Debian, Slackware
Posts: 994

Rep: Reputation: 94
Hi MTK358

There's one written by a Russian dude... has a lot of stuff about perl too , 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
 
Old 04-09-2010, 09:33 AM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
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?
 
Old 04-09-2010, 09:42 AM   #4
penguiniator
Member
 
Registered: Feb 2004
Location: Olympia, WA
Distribution: SolydK
Posts: 442
Blog Entries: 3

Rep: Reputation: 60
http://www.asmcommunity.net/book/ might be a good place to start.
 
Old 04-09-2010, 12:47 PM   #5
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,224

Rep: Reputation: 167Reputation: 167
Asm tutorals never worked for me.
I learned by makings hundreds of tiny C programs and compiling them to asm and looking them over.
 
Old 04-09-2010, 04:24 PM   #6
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Original Poster
Rep: Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713
Quote:
Originally Posted by smeezekitty View Post
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?
 
Old 04-09-2010, 05:12 PM   #7
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,224

Rep: Reputation: 167Reputation: 167
-S switch.
-masm=intel will make intel syntax that compiles in nasm.
 
Old 04-09-2010, 09:41 PM   #8
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,965
Blog Entries: 11

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ASM x32 vs ASM x64 Tegramon Programming 3 02-27-2008 02:26 PM
Search for a good asm environment (+debugging) The-herod Programming 6 04-26-2007 09:48 AM
Good DNS Tutorial moenterprise Linux - Server 5 04-04-2007 01:30 AM
looking for very good tutorial cintaputih Programming 1 02-12-2005 06:19 AM
Anyone have good Posfix how-to or tutorial? unhappyStar Linux - Networking 2 08-15-2004 02:17 AM


All times are GMT -5. The time now is 03:51 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration