Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* Instruction set description?
@ 1997-11-19  5:00 bmeyer
  1997-11-19  5:00 ` Andy Isaacson
  1997-11-20  5:00 ` Volker Barthelmann
  0 siblings, 2 replies; 3+ messages in thread
From: bmeyer @ 1997-11-19  5:00 UTC (permalink / raw)



Hi,

I recently wondered whether there was a description of the ALPHA's instruction
set available somewhere? I'd like to get into hacking the thing a bit, but
with what I can get from my uni's library and what I can deduce from looking
at gcc created code, I am still a bit lost. For example, what does "ldgp"
do?

Also, am I correct in assuming that $31 is the register that is always 0,
$30 is the stackpointer, $26 is the return address for function calls, and
$15 is the frame pointer? 

Regards,

   Bernie

-- 
============================================================================
"It's a magical world, Hobbes ol' buddy...
    	                                   ...let's go exploring"
Calvin's final words, on December 31st, 1995



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Instruction set description?
  1997-11-19  5:00 Instruction set description? bmeyer
@ 1997-11-19  5:00 ` Andy Isaacson
  1997-11-20  5:00 ` Volker Barthelmann
  1 sibling, 0 replies; 3+ messages in thread
From: Andy Isaacson @ 1997-11-19  5:00 UTC (permalink / raw)



On 19 Nov 1997 16:44:57 +1100, bmeyer@bruce.cs.monash.edu.au spake unto us:
>Hi,
>
>I recently wondered whether there was a description of the ALPHA's instruction
>set available somewhere? I'd like to get into hacking the thing a bit, but
>with what I can get from my uni's library and what I can deduce from looking
>at gcc created code, I am still a bit lost.

Take a look at
ftp://ftp.netbsd.org/pub/NetBSD/misc/dec-docs/index.html
Chris Demetriou, who ported NetBSD to the Alpha, has amassed an amazing
collection of DEC documentation.  I know that the architecture guide is in
there somewhere.

-andy
-- 
Andy Isaacson <adisaacs@mtu.edu> <adi@acm.org> / Linux/Alpha, C, Perl, Java
Fight Spam, join CAUCE: http://www.cauce.org  / Ultimate Frisbee, Footbag
http://www.csl.mtu.edu/~adisaacs/            / I speak for noone but myself



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Instruction set description?
  1997-11-19  5:00 Instruction set description? bmeyer
  1997-11-19  5:00 ` Andy Isaacson
@ 1997-11-20  5:00 ` Volker Barthelmann
  1 sibling, 0 replies; 3+ messages in thread
From: Volker Barthelmann @ 1997-11-20  5:00 UTC (permalink / raw)



bmeyer@bruce.cs.monash.edu.au wrote:

: I recently wondered whether there was a description of the ALPHA's instruction
: set available somewhere? I'd like to get into hacking the thing a bit, but
: with what I can get from my uni's library and what I can deduce from looking
: at gcc created code, I am still a bit lost.

You should take a look at the Alpha Compiler Cookbook at

http://www.partner.digital.com/www-swdev/pages/Home/TECH/documents/alpha_cookbook/cook.htm

Somewhere below are also links to the Alpha Architecture Handbook and a
document that describes the calling standards etc. for Digital Unix.
That should help.

: For example, what does "ldgp"
: do?

It loads a Global Offset Table. More details can be found in the documents
mentioned above.

: Also, am I correct in assuming that $31 is the register that is always 0,
: $30 is the stackpointer, $26 is the return address for function calls, and
: $15 is the frame pointer? 

Yes.

Volker



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1997-11-20  5:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-11-19  5:00 Instruction set description? bmeyer
1997-11-19  5:00 ` Andy Isaacson
1997-11-20  5:00 ` Volker Barthelmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox