Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83; site solar.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!mtuxo!mtunh!mtung!mtunf!orion!solar!eds From: eds@solar.UUCP (E.SCHULZ) Newsgroups: net.lang.c Subject: Re: Register variables Message-ID: <382@solar.UUCP> Date: Wed, 3-Jul-85 13:51:31 EDT Article-I.D.: solar.382 Posted: Wed Jul 3 13:51:31 1985 Date-Received: Thu, 4-Jul-85 05:00:42 EDT Organization: AT&T Information Systems, Holmdel NJ Lines: 14 In our current application, we are writing C code for an 8086-family processor in an embedded system. Our objective is to keep the ROM and RAM down, so that the components will fit on the board and will be low cost. We don't think that execution time is as important as keeping the ROM under 128K bytes. Given the above, I would prefer to have the compiler assign register variable(s) based on their static occurrence in the code. The references to memory take more code space than references to registers. Just another point of view... Ed Schulz AT&T-IS, Holmdel, NJ solar!eds (201)834-3838