Compilers and programming style (was Re: A question of style)
Walter Bright
bright at Data-IO.COM
Thu Jan 11 05:54:20 AEST 1990
In article <534 at bbxsda.UUCP> scott at bbxsda.UUCP (Scott Amspoker) writes:
<In article <2283 at dataio.Data-IO.COM> bright at dataio.Data-IO.COM (Walter Bright) writes:
<<volatile int *p;
<<*p; /* has side effects and must not be optimized away */
<Just curious - what kind of code should be generated for the above C fragment?
Should be something like:
MOV BX,p
MOV AX,[BX]
More information about the Comp.lang.c
mailing list