From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,f6dda81e7269c676 X-Google-Attributes: gid111c93,public From: Chris Subject: Re: why only 6 params passed in registers? Date: 2000/01/16 Message-ID: <3881DAB4.EDE0C004@dtn.ntl.com>#1/1 X-Deja-AN: 573352272 Content-Transfer-Encoding: 7bit References: <387EEFA6.3CD3F398@dtn.ntl.com> <85oguv02ivj@news1.newsguy.com> <38805845.8DBF5D26@dtn.ntl.com> <85qe7f$j9m$1@nserve1.acs.ucalgary.ca> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@net.ntl.com X-Trace: nclient3-gui.server.dtn.ntl.com 948034390 28459 212.250.67.178 (16 Jan 2000 14:53:10 GMT) Organization: Man Mime-Version: 1.0 NNTP-Posting-Date: 16 Jan 2000 14:53:10 GMT Newsgroups: comp.os.linux.alpha 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/