ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.