Re: A89: Other storage class modifiers


[Prev][Next][Index][Thread]

Re: A89: Other storage class modifiers




Most likely the compiler will reconize that and the use of the
"register" keyword would be unneeded

TurboSoft@aol.com wrote:
> 
> In a message dated 4/8/2000 3:37:38 PM Eastern Daylight Time,
> zjuric@utic.net.ba writes:
> 
> > Of course, all of them can not be in registers, because there is not
> >  enough registers. The compiler will allocate some of them in registers
> >  in according to his "estimation". But, if you want, for any reason,
> >  that p,q and r MUST be in registers, use:
> >
> >  int a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,s,t;
> >  register int p,q,r;
> >
> >  Zeljko Juric
> 
> so if l used the int's a, b, c  a lot in a program (which l do for temporary
> storage in algorithms) then would it make the program run maybe a little
> faster to do
> register int a,b,c;
> ?
> 
> --TurboSoft
> 
> Visit the TURBOSOFT HOMEPAGE:  The most current Basic and C programs created
> by TurboSoft for the 89, and the most 89 web links.
> <A HREF="http://turbosoft.ticalc.org/">http://turbosoft.ticalc.org/</A>

-- 
Scott "_Wrath_" Dial
wrath@calc.org
ICQ#3608935
Member of TCPA - tcpa.calc.org
_____________________________________________
NetZero - Defenders of the Free World
Click here for FREE Internet Access and Email
http://www.netzero.net/download/index.html



References: