Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: Chris <quattro_net@dtn.ntl.com>
Subject: Re: why only 6 params passed in registers?
Date: 2000/01/16	[thread overview]
Message-ID: <3881DAB4.EDE0C004@dtn.ntl.com> (raw)
In-Reply-To: 85qe7f$j9m$1@nserve1.acs.ucalgary.ca

By strange, I was visualising something like calling a basic procedure
from Macro32 assembler, which you could do if you were perverse enough
;-).

Having a common object file format across languages and calling
conventions was quite a revelation to me at the time, as was the fact
that it was fully documeneted with examples. Coming from Apple II and PC
environments, where you were lucky if the compiler vendor even disclosed
the call convention at all, never mind documented it properly. We take
stuff like that for granted now.

Chris


Serguei Patchkovskii wrote:
> 
> Chris (quattro_net@dtn.ntl.com) wrote:
> : I wouldn't thing so, it's too high level. For example, All the Dec
> : compilers on Vax in the old days used a common calling convention, with
> : the same register usage and stack frame layout. This meant that you
> : could do strange stuff like link object modules using several different
> : source languages (basic, assembler, fortran, C, whatever) and it would
> : all run.
> 
> You have a rather funny definition of "strange". Being able to combine
> sections written in different languages within the same program is one
> of the essential attributes of a quality compiler suite. Unless all you
> have to do is to write 200-liners - naturally, in impeccable style with
> exclusively 2-parameter functions in it.
> 
> /Serge.P
> 
> --
> home page: http://www.cobalt.chem.ucalgary.ca/ps/



  reply	other threads:[~2000-01-16  5:00 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-01-12  5:00 why only 6 params passed in registers? david_morse
2000-01-12  5:00 ` Alex Rhomberg
2000-01-12  5:00 ` Martin Sinot
2000-01-12  5:00   ` Serguei Patchkovskii
2000-01-14  5:00     ` Chris
2000-01-14  5:00       ` Serguei Patchkovskii
2000-01-14  5:00         ` Chris
2000-01-15  5:00       ` Greg Lindahl
2000-01-15  5:00         ` Chris
2000-01-15  5:00           ` Serguei Patchkovskii
2000-01-16  5:00             ` Chris [this message]
2000-01-16  5:00               ` Serguei Patchkovskii
2000-01-14  5:00 ` Steven Hobbs
2000-01-14  5:00   ` Martin Sinot
2000-01-14  5:00     ` Steven Hobbs
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