Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Alpha Assembly on RHL4.2
@ 1997-06-12 19:06 Kirk Saban
  0 siblings, 0 replies; 4+ messages in thread
From: Kirk Saban @ 1997-06-12 19:06 UTC (permalink / raw)


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?

	Thanks!

------------------
Kirk G. Saban, E.I.T.
RTDS Technolgies Inc.
Winnipeg, Manitoba, CANADA

--
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

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

* Re: Alpha Assembly on RHL4.2
@ 1997-06-12 19:30 Jim Paradis
  0 siblings, 0 replies; 4+ messages in thread
From: Jim Paradis @ 1997-06-12 19:30 UTC (permalink / raw)


Kirk Saban wrote:
> 
>  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?

Are you getting the core dump during assembly or when you're trying
to execute the program?

Perhaps if you could provide a script of a terminal session we
could help you...

-- 
Jim Paradis   jrp@jrp.tiac.net  
http://www.tiac.net/users/jrp/index.html
"It's not procrastination, it's my new Just-In-Time Workload Management
System!"

--
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

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

* Re: Alpha Assembly on RHL4.2
       [not found] <Pine.SOL.3.95.970612140334.22439C-100000@jamesh>
@ 1997-06-12 19:54 ` Jerry Feldman
  1997-06-12 19:59 ` Jerry Feldman
  1 sibling, 0 replies; 4+ messages in thread
From: Jerry Feldman @ 1997-06-12 19:54 UTC (permalink / raw)


The Alpha NT assembler (asaxp), which is available on the Alpha NT 
Archive site (http://dutlbcz.lr.tudelft.nl/alphant/) comes with a 
Windows help file as well as a readme. 
The Alpha AXP Architecture reference Manual (second Edition) by Richard 
Sites and Richard Witek (Digital Press) is about the best reference. 
Another excellent reference is the Digital Unix Assembly Language 
Programmers Guide. This is available online from the Digital web site. 
The GAS assembler is a bit different than the DU or NT assemblers, but 
most of the syntax is common.
 (http://www.UNIX.digital.com/faqs/publications/base_doc/DOCUMENTATION/H
TML/AA-PS31D-TET1_html/TITLE.html)
+--------------------------------------------------------------------+
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

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

* Re: Alpha Assembly on RHL4.2
       [not found] <Pine.SOL.3.95.970612140334.22439C-100000@jamesh>
  1997-06-12 19:54 ` Jerry Feldman
@ 1997-06-12 19:59 ` Jerry Feldman
  1 sibling, 0 replies; 4+ messages in thread
From: Jerry Feldman @ 1997-06-12 19:59 UTC (permalink / raw)


> 
> 	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

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

end of thread, other threads:[~1997-06-12 19:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-06-12 19:30 Alpha Assembly on RHL4.2 Jim Paradis
     [not found] <Pine.SOL.3.95.970612140334.22439C-100000@jamesh>
1997-06-12 19:54 ` Jerry Feldman
1997-06-12 19:59 ` Jerry Feldman
  -- strict thread matches above, loose matches on Subject: below --
1997-06-12 19:06 Kirk Saban

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