LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 05-06-2008, 07:10 AM   #1
JMJ_coder
Member
 
Registered: Apr 2006
Distribution: Fedora
Posts: 478

Rep: Reputation: 30
Assembly Language Books


Hello,

I have two older assembly books, one from 1998 and the other from 1999, both on assembly language for the IBM PC/Intel-based computer. Would these still be relevant today? Can they teach me how to program in assembly code for the current crop of x86 and x86_64 processors? How about for the next generation of CPU's or for other chip architectures (i.e., Sun T1)?


Here are the book specifics:

IBM PC Assembly Language and Programming, Fourth Edition
Peter Abel
Prentice Hall, (c)1998
ISBN 0137566107

Assembly Language for Intel-Based Computers, Third Edition
Kip R. Irvine
Prentice Hall, (c)1999
ISBN 0136603904
 
Old 05-06-2008, 07:59 AM   #2
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Rep: Reputation: 65
I would say they're still relevant as Intel-syntax is still usable; NASM is a free assembler that uses the Intel syntax.

GAS, the GNU Assembler comes complete with both Intel and AT&T syntax.

EDIT: Here's the GAS Manual and the NASM manual.

Last edited by indienick; 05-06-2008 at 08:02 AM. Reason: More stuffs. :D
 
Old 05-06-2008, 12:15 PM   #3
95se
Member
 
Registered: Apr 2002
Location: Windsor, ON, CA
Distribution: Ubuntu
Posts: 740

Rep: Reputation: 32
Kip Irvine's book is good. This question has been asked a couple of times now, I think you would be well served to check out the responses to the older threads as well. You won't see anything for x64 in there, but it isn't very different from x86, but different enough that you won't be able to use the examples straight out of the book.
 
Old 05-06-2008, 04:04 PM   #4
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
Really not very useful for other architectures, although having learnt assembler for one architecture, learning a second is probably a lot easier than learning your first.

There is also a bit of x86 stuff that will be missing from these books, but its stuff that you probably won't want to use (the recent additions to the instruction sets, for example). On the other hand, some of the more recent changes are 'it looks the same to the programmer, it just works faster' changes.

So, in part, it depends on what you want to achieve. if you are into deterministic real-time programming or gaming, you'll need the latest and greatest. If you are into 'noddy programs, could write in anything', maybe you would want to consider writing in something other than assembler (C, C++, python, perl, ruby).

If, on the other hand, you think its just a worthwhile intellectual achievement to learn assembler, go ahead; you won't be learning everything, but it will still be much better than nothing.
 
  


Reply



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
assembly language: ret>>=10 ashlesha Programming 2 09-13-2006 04:11 AM
assembly language directives ashlesha Programming 2 07-03-2006 09:20 PM
Assembly Language syntax ashlesha Linux - Newbie 4 06-30-2006 04:22 PM
Good Assembly Books jinksys Programming 3 01-29-2004 03:41 AM
Assembly Language, and networks grizzly Programming 5 12-11-2003 09:50 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:17 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration