LinuxQuestions.org
Visit Jeremy's Blog.
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 02-26-2008, 08:14 PM   #1
Tegramon
LQ Newbie
 
Registered: Aug 2007
Posts: 19

Rep: Reputation: 0
ASM x32 vs ASM x64


Can this book be used with a Quad Core system with a x64 openSUSE?

http://savannah.nongnu.org/projects/pgubook/
 
Old 02-26-2008, 10:20 PM   #2
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 78
Yes (x86-64 is backwards-compatible with x86, SMP will be managed by the kernel, not by you). What you will not get from that book is the knowledge of the 64-bit extensions to x86 assembly language (this includes the 64-bit counterparts of the registers and arithmetic ops, and, the more interesting, relative addressing mode).
 
Old 02-27-2008, 12:43 PM   #3
Tegramon
LQ Newbie
 
Registered: Aug 2007
Posts: 19

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by osor View Post
Yes (x86-64 is backwards-compatible with x86, SMP will be managed by the kernel, not by you). What you will not get from that book is the knowledge of the 64-bit extensions to x86 assembly language (this includes the 64-bit counterparts of the registers and arithmetic ops, and, the more interesting, relative addressing mode).
So ... if I learn from that ... would that not be like some sort of "stale" information? Or is it a good start?
 
Old 02-27-2008, 02:26 PM   #4
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 78
Quote:
Originally Posted by Tegramon View Post
Or is it a good start?
It’s a good start. Once you learn x86 assembly well enough, most of the 64-bit extensions are easy to get. As I said before, the only drastically different feature of x86-64 from an x86 assembly programming perspective is the instruction-pointer-relative addressing (which is similar to how RISC archs such as SPARC can address memory).

Here is a short list of differences for after you have learned x86 assembly.
 
  


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
problem with asm hoshangi Programming 4 12-04-2007 08:01 AM
I/O in ASM Mercurius Programming 10 11-16-2006 07:02 PM
asm Question Whiteghost Programming 2 09-03-2005 09:26 AM
Jumping in asm LongName Programming 3 08-31-2004 07:27 PM
asm question karlan Programming 6 07-16-2004 11:54 AM

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

All times are GMT -5. The time now is 10:38 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