Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.csd.uwm.edu!uakari.primate.wisc.edu!aplcen!ginosko!uunet!philmtl!ray From: ray@philmtl.philips.ca (Raymond Dunn) Newsgroups: comp.lang.c Subject: Re: address of register variables Message-ID: <696@philmtl.philips.ca> Date: 8 Sep 89 21:17:01 GMT References: <10809@riks.csl.sony.co.jp> <9389@cbnews.ATT.COM> Reply-To: ray@philmtl.philips.ca (Raymond Dunn) Organization: Philips Electronics Ltd. - St. Laurent P.Q., Canada Lines: 14 In article <9389@cbnews.ATT.COM> mveao@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