Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site crystal.UUCP Path: utzoo!watmath!clyde!bonnie!akgua!whuxlm!whuxl!houxm!ihnp4!mhuxn!mhuxr!ulysses!allegra!mit-eddie!genrad!panda!talcott!harvard!seismo!uwvax!crystal!shekita From: shekita@crystal.UUCP Newsgroups: net.lang.c Subject: register variables Message-ID: <472@crystal.UUCP> Date: Thu, 20-Jun-85 14:33:52 EDT Article-I.D.: crystal.472 Posted: Thu Jun 20 14:33:52 1985 Date-Received: Sun, 23-Jun-85 00:40:45 EDT Distribution: net Organization: U of Wisconsin CS Dept Lines: 14 I have some questions about register variables: 1) When is it appropriate to declare a variable as a register? I have been told that declaring a variable as a register can actually result in slower code. Is there a rule of thumb dictating when and when not to declare a variable as a register? 2) How many variables can be declared as registers on a Vax 780? In general, is there some way to tell how many register variables can be declared? Eugene Shekita Univ of Wisconsin