From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.4 required=5.0 tests=AC_FROM_MANY_DOTS,BAYES_00 autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,9dec3ff1604723d9 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Egil H. H�vik" Newsgroups: comp.lang.ada References: Subject: Re: Bitmanipulation in Ada Date: Thu, 19 Aug 2004 10:08:17 +0200 Organization: Kongsberg Defence & Aerospace X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 193.71.174.137 Message-ID: <41245b79@193.71.169.73> X-Trace: 19 Aug 2004 09:49:13 +0200, 193.71.174.137 Path: g2news1.google.com!news2.google.com!proxad.net!195.70.164.134.MISMATCH!news.tdcnorge.no!uninett.no!news.eunet.no!193.71.169.73!193.71.174.137 Xref: g2news1.google.com comp.lang.ada:2842 Date: 2004-08-19T10:08:17+02:00 List-Id: "Martin Dowie" wrote in message news:cg0j57$bal$1@sparta.btinternet.com... > Bernd Specht wrote: > > 2) Address clause to 'overlay' 2 variables at the same address; > > procedure Foo (Y : Unsigned_8) is > X : Array_8; You would probably want a "pragma Import (Ada, X)" here, to suppress any default initializations... B.1(24) > for X'Address use Y'Address; > begin > ... ~egilhh