Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: "Wes Bauske" <wsb@paralleldata.com>
To: axp-list@redhat.com
Subject: Re: Alpha asm & Linux
Date: Mon, 03 May 1999 12:55:32 -0500	[thread overview]
Message-ID: <372DE314.F18A0469@paralleldata.com> (raw)
In-Reply-To: 372DBD12.BDCFF640@voicenet.com

Uncle George wrote:
> 
> This book/docs may explain the machine instructions & architecture
> issues - it certainly does not explain how to really write an assembly
> program on linux/alpha - or incorporate the assembler in the "C"
> __asm__  stuff. Also more annoying is the register nameing convensions -
> i'd like very much to use t0, a0 and the like.

If you snoop around in the kernel code, you can find
examples of how to inline asm in C code.

> gat
> BTW assembler & UNIX has always been difficult
> 

In what way? The calling interface is more painful
from what I've seen. By splitting the args between
regs and memory, one can make the code faster so 
it's a tradeoff in complexity for speed. Also, by 
inlining things inside C, you can avoid having to
code your own interface. Also, asm for the specific 
machine has it's own quirks but no more so than 
other machines. Other than that, its just managing
the stack. What am I not seeing?


Wes


  parent reply	other threads:[~1999-05-03 19:27 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-05-03 13:14 Alpha asm & Linux Tenhave, Tim
1999-05-03 15:13 ` Uncle George
1999-05-03 17:12   ` Philip Blundell
1999-05-03 20:33     ` Uncle George
1999-05-03 17:55   ` Wes Bauske [this message]
1999-05-04 11:26     ` Uncle George
1999-05-04 18:12       ` Wes Bauske
  -- strict thread matches above, loose matches on Subject: below --
2002-03-07  2:10 The VX1 Shakes Redux "Thursday" AKA dr. john
2002-03-07  2:45 ` Uncle George
2002-03-07  6:14   ` Stephen Williams
2002-03-07 13:28     ` Uncle George
2002-03-07 13:53       ` Peter Petrakis
2002-03-07 20:31       ` Stephen Williams
2002-03-07 20:51         ` geerten kuiper
2002-03-07 21:01           ` Michael A. Foley
2002-03-07 21:45 ` Terry A. Bowling
1999-05-02  3:26 Alpha asm & Linux Dan Morrill
1999-05-02  4:01 ` Wai-Sun Chia
1999-05-02 16:12   ` Jeff DeMaagd
     [not found] <gatgul@voicenet.com>
1997-01-20  3:17 ` NCR SCSI woes - stupid owner tricks Bryan W. Headley
1997-01-20  5:15   ` Richard Henderson
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