From: Jerry Feldman <gaf@zk3.dec.com>
Subject: Re: Alpha Assembly on RHL4.2
Date: Thu, 12 Jun 97 15:59:23 -0400 [thread overview]
Message-ID: <2525460e44fd103213d056340140c4cf.axp-list@archive.invalid> (raw)
In-Reply-To: <Pine.SOL.3.95.970612140334.22439C-100000@jamesh>
>
> I am trying to compile an assembly language program using the GNU
> assembler gas on RHL4.2 and I keep getting Segmentation Fault (core
> dumped) errors. I have checked my code a zillion times and just can't
> figure out what's going wrong. Anybody have any suggestions or good
> references for Alpha Assembly Language?
One common error is on function calls. Generally, the first 6
parameters are passed as registers (eg. 16-21). If you are passing a
floating point parameter, it is passed by a corresponding fp register.
Also, register 31 (and f31) always contains zero. Also, you should be
aware that some registers must be preserved over calls where some can
be trashed.
+--------------------------------------------------------------------+
Jerry Feldman Digital Unix Development Environment
Digital Equipment Corp. (work)gaf@zk3.dec.com (home)gaf@mediaone.net
110 Spitbrook Rd. Mailstop: ZKO3-2/W17
Nashua, NH 03062-9987 (603)881-2970, DTN:381-2970
+--------------------------------------------------------------------+
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
next prev parent reply other threads:[~1997-06-12 19:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <Pine.SOL.3.95.970612140334.22439C-100000@jamesh>
1997-06-12 19:54 ` Alpha Assembly on RHL4.2 Jerry Feldman
1997-06-12 19:59 ` Jerry Feldman [this message]
1997-06-12 19:30 Jim Paradis
-- strict thread matches above, loose matches on Subject: below --
1997-06-12 19:06 Kirk Saban
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox