assembler reference
can anyone recommend a decent assembler reference that covers intel and at&t styles? preferably something that comes in hardcover ;-)
Quoted 2 lines · gml
can anyone recommend a decent assembler reference that covers intel and at&t styles? preferably something that comes in hardcover ;-)
I once saw a paper that described how to convert between the two. It was an internal engineering doc that had been released to the public, and it was for a very well known and respected firm (at the time anyway). Unfortunately I can't remember who it was from!
I am pretty sure I saw it come across the DJGCC lists years ago (i.e., when in the era when it was still called DJGCC rather than DJGPP, which puts it at the very begining of the project).
Anyway, at the time, I thought it was a very good document. I just wish I could find it again.
That aside, I found out some interesting info on DJ's site at delorie.com.
For example:
Beginning with Binutils 2.10, Gas has an option that causes it to accept the Intel syntax, so you can use Gas to assembly Intel-style code.
And linuxassembly.org looks useful.
Unless you buy a bound version of the docs for GAS, though, I don't think you're going to find anything useful in print. It's all online.
mrc
Signature · 3 lines
Mike Castle [email protected] www.netcom.com/~dalgoda/ We are all of us living in the shadow of Manhattan. -- Watchmen fatal ("You are in a maze of twisty compiler features, all different"); -- gcc
Quoted 4 lines · Mike Castle
I once saw a paper that described how to convert between the two. It was an internal engineering doc that had been released to the public, and it was for a very well known and respected firm (at the time anyway). Unfortunately I can't remember who it was from!
Ok. Maybe it wasn't a comparison. I *think* this *might* be the document I was thinking about. I do seem to think that it was ISC.
http://groups.google.com/groups?selm=218%40dumbcat.sf.ca.us&output=gplain
Section 3.1 is section of interest.
mrc
Signature · 3 lines
Mike Castle [email protected] www.netcom.com/~dalgoda/ We are all of us living in the shadow of Manhattan. -- Watchmen fatal ("You are in a maze of twisty compiler features, all different"); -- gcc