Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84 SMI; site sun.uucp Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!decvax!decwrl!sun!guy From: guy@sun.uucp (Guy Harris) Newsgroups: net.lang.c Subject: Re: Registers on the VAX 11/780? Message-ID: <2438@sun.uucp> Date: Thu, 18-Jul-85 00:56:43 EDT Article-I.D.: sun.2438 Posted: Thu Jul 18 00:56:43 1985 Date-Received: Sat, 20-Jul-85 02:00:51 EDT References: <2238@uvacs.UUCP> <574@ucsfcgl.UUCP> Organization: Sun Microsystems, Inc. Lines: 14 > However, to answer the question -- 5. Or is it 6? (I can't get onto "sunvax" to test this.) R0 through R5 are temporary (those are the ones that can be destroyed by "movc5" instructions and the like), R15 is the PC, R14 is the SP, R13 is the FP, and R12 is the AP (or possibly the other way around for the last two), leaving R6 through R11 for register variables. BTW, for the information of the orignal poster, the answer is the same on the VAX-11/750, VAX-11/730, VAX-11/725, MicroVAX I, MicroVAX II, VAX 8600, etc., etc.; it's a computer family so the answer should be the same for all machines. Guy Harris