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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,ec21c3c7cdc7ff3e X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news3.google.com!news4.google.com!newsfeed2.dallas1.level3.net!news.level3.com!newsfeed-00.mathworks.com!kanaga.switch.ch!news-zh.switch.ch!switch.ch!news.hispeed.ch!linux2.krischik.com!news From: Martin Krischik Newsgroups: comp.lang.ada Subject: Re: private types Date: Sun, 19 Mar 2006 10:35:17 +0100 Organization: Cablecom Newsserver Message-ID: <1259548.CMTukHGvVZ@linux1.krischik.com> References: <1142279908.327131.230200@j52g2000cwj.googlegroups.com> NNTP-Posting-Host: 84-74-134-212.dclient.hispeed.ch Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8Bit X-Trace: news.hispeed.ch 1142761504 3524 84.74.134.212 (19 Mar 2006 09:45:04 GMT) X-Complaints-To: news@hispeed.ch NNTP-Posting-Date: Sun, 19 Mar 2006 09:45:04 +0000 (UTC) User-Agent: KNode/0.10.1 Xref: g2news1.google.com comp.lang.ada:3445 Date: 2006-03-19T10:35:17+01:00 List-Id: Justin Gombos wrote: > Zero has a > universal meaning with access types, but it could be in range or out > of range for any other type. �The ARM selects access types > specifically to get a default initialization of zero for this reason. Who says that Null := 16#0#? I could image a Hardware/CPU/OS where it would be better to define Null := 16#FFFF_FFFF_FFFF_FFFF#. For example an OS who's Virtual Memory Management System assign address 16#0# to be a valid address and to hold some important process data to which the process needs access. Of course programming C or C++ on such an OS could be quite challenging (Write to (void*)0 and you mess up your Proccess Information Descriptor). Martin -- mailto://krischik@users.sourceforge.net Ada programming at: http://ada.krischik.com