Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!decvax!cca!ima!johnl From: johnl@ima.UUCP Newsgroups: net.lang.c Subject: Re: C register usage - (nf) Message-ID: <377@ima.UUCP> Date: Fri, 19-Aug-83 18:40:01 EDT Article-I.D.: ima.377 Posted: Fri Aug 19 18:40:01 1983 Date-Received: Sat, 20-Aug-83 09:13:16 EDT Lines: 21 #R:ulysses:-55500:ima:15900011:000:872 ima!johnl Aug 19 17:42:00 1983 ***** ima:general / ism780!jim / 1:47 pm Aug 19, 1983 The 32v people who violated DEC's calling conventions and neglected to save r2-r5 in C routines, presumably because they are used as temporaries by structure copies and complex expressions, made a mistake. These registers now must be saved upon each interrupt which calls or leads to the call of a C routine, which is very costly, while the actual occurrence of uses of r2-r5 is minimal. I think the Bell VAX assembler language manual was pulled because the design and implementation were too embarrassing. The SysV assembler is a different program, but Bell still hasn't gotten around to providing a manual. It is more than a little ironic that someone at MH should be asking the net about history of Bell documentation practices. Jim Balter (decvax!yale!ima!jim), Interactive Systems Corp -------- ----------