LinuxQuestions.org
Review your favorite Linux distribution.
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 12-10-2008, 08:25 AM   #1
SaraiKhan
LQ Newbie
 
Registered: Nov 2008
Posts: 28

Rep: Reputation: 15
IA64 ASM Question


Basicly, I searched far and wide, but could not find a solid introduction to IA64 ASM. Anyone has some good resources on the subject? Even multi-core CPU stuff?
 
Old 12-10-2008, 01:29 PM   #2
SaraiKhan
LQ Newbie
 
Registered: Nov 2008
Posts: 28

Original Poster
Rep: Reputation: 15
Does not anyone know the answer?
 
Old 12-11-2008, 08:04 AM   #3
SaraiKhan
LQ Newbie
 
Registered: Nov 2008
Posts: 28

Original Poster
Rep: Reputation: 15
Cant anyone point me to some resources?
 
Old 12-11-2008, 08:45 AM   #4
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197
I'm sure you can find IA64 asm info on the Intel website.

Are you sure you want IA64 asm info (rather than X86_64 asm info)? Do you have an IA64 CPU?

I downloaded plenty of X86_64 asm documentation from AMDs web site. I expect you could also find X86_64 asm documentation on Intel's web site.
 
Old 12-11-2008, 01:42 PM   #5
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
To clarify -

Johnsfine is pointing out that there are two, different, incompatible "standards" for 64-bit PCs:

IA64 (aka. "Itanium")
X86-64 (compatible between Intel and AMD; backward compatible with X86-32)

Hopefully you're talking about the latter (X64-64).

Regardless - you can find plenty of good assembly information for both on the web.
 
Old 12-12-2008, 02:23 AM   #6
resetreset
Senior Member
 
Registered: Mar 2008
Location: Cyberspace
Distribution: Dynebolic, Ubuntu 10.10
Posts: 1,340

Rep: Reputation: 62
Wouldn't it be nice if there were "fun" tutorials on the subject, instead of "documentation" when you're starting out trying to learn something?
Like I had, when I was trying to learn 32-bit asm - Michael Abrash's book Graphics Programming Blackbook was a very good read, he *writes* really well, besides the actual facts, there are little stories and anecdotes to liven up every chapter which make the whole thing entertaining and fun!
IA-64 asm is *complicated*, the chip AFAIK was made *solely* so that it could programmed by GCC, I don't think either Intel or AMD encourage Assembly programmers to jump around on the bare metal
And in any case, it *could* be a lot of hard work down the drain now that the Cell processor (Playstation 3) with 8 cores or whatever, is here.
 
Old 12-14-2008, 11:11 AM   #7
SaraiKhan
LQ Newbie
 
Registered: Nov 2008
Posts: 28

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by johnsfine View Post
I'm sure you can find IA64 asm info on the Intel website.

Are you sure you want IA64 asm info (rather than X86_64 asm info)? Do you have an IA64 CPU?

I downloaded plenty of X86_64 asm documentation from AMDs web site. I expect you could also find X86_64 asm documentation on Intel's web site.
You are right. I own a Quad Core, not an Itanium. So I am interested in x86_64.

You've found plenty of tutorials/documentation on intel's site? Well, I found references to, but no thorough documentation that would take one from the start. So I am really stumped. It's dubious people dont post papers, tutorials, or the like, on the subject!
 
Old 12-14-2008, 12:19 PM   #8
fantas
Member
 
Registered: Jun 2007
Location: Bavaria
Distribution: slackware, xubuntu
Posts: 143

Rep: Reputation: 22
You can also google for AMD64 which is the same as x86_64.

A link to get you started on assembly details:
http://www.x86-64.org/documentation/assembly.html

Last edited by fantas; 12-14-2008 at 01:03 PM. Reason: blindness ;-)
 
Old 12-14-2008, 04:33 PM   #9
SaraiKhan
LQ Newbie
 
Registered: Nov 2008
Posts: 28

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by fantas View Post
You can also google for AMD64 which is the same as x86_64.

A link to get you started on assembly details:
http://www.x86-64.org/documentation/assembly.html
Yeah, I know that link. It only sumarises the diff between x32 and x64. I dont know x32. But I have excellent resources for x32. Dont want to waste time learning x32 and then translating to x64 though ...
 
Old 12-14-2008, 05:47 PM   #10
fantas
Member
 
Registered: Jun 2007
Location: Bavaria
Distribution: slackware, xubuntu
Posts: 143

Rep: Reputation: 22
It seems you haven't understood yet that AMD64 is a superset of x86, so there's hardly any time wasted. I'd even go as far as to say that it's a _must_ to learn x86 before exploring 64-bit coding.
 
Old 12-14-2008, 07:29 PM   #11
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
SaraiKhan -

This is an excellent tutorial:
http://asm.sourceforge.net/intro/Assembly-Intro.html

It's one of many thousands you'll find on the web.

As fantas pointed out, learning the fundamentals of x86 is *essential* to understanding x86-64.

Good luck ... PSM
 
Old 12-15-2008, 02:22 AM   #12
resetreset
Senior Member
 
Registered: Mar 2008
Location: Cyberspace
Distribution: Dynebolic, Ubuntu 10.10
Posts: 1,340

Rep: Reputation: 62
fantas, paulsm, do you both Know 64-bit asm?
 
Old 12-15-2008, 08:31 AM   #13
fantas
Member
 
Registered: Jun 2007
Location: Bavaria
Distribution: slackware, xubuntu
Posts: 143

Rep: Reputation: 22
I can speak only for myself - yes.
 
Old 12-15-2008, 09:03 AM   #14
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197
By the time the x86-64 architecture was invented the peak in the number of people learning assembly language was long passed. Most people who want to learn x86-64 assembly are people who already know 32bit x86 assembly.

So there is much less reason to have the kind or quantity of beginner documentation for x86-64 that exists for 32bit x86. Most x86-64 documentation assumes you already know general concepts of assembly language programming and only need x86-64 details. Much of it even assumes you already know advanced details of 32bit x86 and only need the differences.

So much of x86-64 architecture is based on 32bit x86 that there is very little throw away or sidetrack to learning 32bit x86 as a path toward x86-64.

Maybe there is some good tutorial somewhere for learning x86-64 from scratch, without learning another assembler first. But I haven't seen one, and I don't think any links in this thread so far get you to one.

Last edited by johnsfine; 12-15-2008 at 09:05 AM.
 
Old 12-15-2008, 09:26 AM   #15
resetreset
Senior Member
 
Registered: Mar 2008
Location: Cyberspace
Distribution: Dynebolic, Ubuntu 10.10
Posts: 1,340

Rep: Reputation: 62
fantas - do you understand bundles? can you explain it to me?

how did you learn it? just from web tutorials?

Last edited by resetreset; 12-15-2008 at 09:27 AM.
 
  


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
Question on asm/atomic.h Lothar Schwab Programming 0 08-15-2007 07:13 PM
asm Question Whiteghost Programming 2 09-03-2005 09:26 AM
asm question karlan Programming 6 07-16-2004 11:54 AM
ASM question zWaR Programming 2 06-26-2004 11:42 AM
Simple ASM question Citizen Bleys Programming 2 04-03-2003 05:55 AM

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

All times are GMT -5. The time now is 03:52 AM.

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