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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,29f36805b9a20fe8 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-04-02 12:58:07 PST Path: supernews.google.com!sn-xit-03!supernews.com!newsswitch.lcs.mit.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!colt.net!newsfeeds.belnet.be!news.belnet.be!psinet-eu-nl!psiuk-p4!uknet!psiuk-n!news.pace.co.uk!nh.pace.co.uk!not-for-mail From: "Marin David Condic" Newsgroups: comp.lang.ada Subject: Re: Streams in Ada Date: Mon, 2 Apr 2001 15:36:57 -0400 Organization: Posted on a server owned by Pace Micro Technology plc Message-ID: <9aakcq$kj9$1@nh.pace.co.uk> References: <9aa3dd$efb$1@nh.pace.co.uk> NNTP-Posting-Host: 136.170.200.133 X-Trace: nh.pace.co.uk 986240218 21097 136.170.200.133 (2 Apr 2001 19:36:58 GMT) X-Complaints-To: newsmaster@pace.co.uk NNTP-Posting-Date: 2 Apr 2001 19:36:58 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Xref: supernews.google.com comp.lang.ada:6372 Date: 2001-04-02T19:36:58+00:00 List-Id: As I understand the notion of Storage_Element, they rather intended for this to correspond to whatever the hardware would normally reference with a machine address and pull off the bus. The fact that there may be instructions that let you pick apart that chunk of stuff you pulled from the bus wouldn't be a consideration because you'd be looking for the machine's most efficient means of referencing data. Hence, even though the PDP-10 could easily disect the 36 bit words, you'd still want Storage_Element to be 36 bits because that was the smallest chunk of data you could extract from main memory. (IIRC, it was an 18 bit address, right? And I *do* remember using 7 bit ASCII with one bit left over! :-) So this hypothetical Ada95 compiler would use 36 bits to store a character or array of characters? You'd have to use packing or other representation clauses to get the characters into a single word? Hmmmmmmm....... That would probably provide all sorts of ammunition for the Anti-Ada-Zealots. MDC -- Marin David Condic Senior Software Engineer Pace Micro Technology Americas www.pacemicro.com Enabling the digital revolution e-Mail: marin.condic@pacemicro.com Web: http://www.mcondic.com/ "Robert A Duff" wrote in message news:wccae5zw4hm.fsf@world.std.com... > > Sounds like a bad idea to me. Storage_Element'Size should be 36 on the > PDP-10. I believe anything else would be unnecessarily inefficient. >