address of register variables
Raymond Dunn
ray at philmtl.philips.ca
Sat Sep 9 07:17:01 AEST 1989
In article <9389 at cbnews.ATT.COM> mveao at cbnews.ATT.COM (eric.a.olson,54242,wi,1f018,508 374 5626) writes:
>>>> What if x is in a register?
>
>Yeah. What if? I realize that registers might not have an
>adress that can be taken, but why should that make taking its
>address illegal rather than implementation-dependent?
Because the Language Reference specifically says it is illegal (even though it
is sensible on many architectures where registers map to memory locations).
--
Ray Dunn. | UUCP: ..!uunet!philmtl!ray
Philips Electronics Ltd. | TEL : (514) 744-8200 Ext: 2347
600 Dr Frederik Philips Blvd | FAX : (514) 744-6455
St Laurent. Quebec. H4M 2S9 | TLX : 05-824090
More information about the Comp.lang.c
mailing list