Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!sdd.hp.com!usc!snorkelwacker.mit.edu!bloom-beacon!eru!hagbard!sunic!ericom!eos.ericsson.se!epames From: epames@eos.ericsson.se (Michael Salmon) Newsgroups: comp.lang.c Subject: Re: Novice question. Message-ID: <1990Nov14.101126.5884@ericsson.se> Date: 14 Nov 90 10:11:26 GMT References: <336@brat.UUCP> <3838@vela.acs.oakland.edu> <1990Nov14.010511.7241@ux1.cso.uiuc.edu> Sender: news@ericsson.se Reply-To: epames@eos.ericsson.se Organization: Ericsson Telecom AB Lines: 14 In article <1990Nov14.010511.7241@ux1.cso.uiuc.edu> gordon@osiris.cso.uiuc.edu (John Gordon) writes: > > "register" means that the variable *will* be stored in a portion of >memory that can be accessed significantly faster than normal. I don't wish to sound pedantic but register is intended as a hint to the compiler that the variable should be stored in some fast access but the compiler need not do so. Many of the early C compiler I used ignored this and if I remember correctly the Zortech compiler thinks it can determine which variables to place in registers better than the programmer. Michael Salmon L.M.Ericsson Stockholm