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=unavailable autolearn_force=no version=3.4.4 Path: buffer2.nntp.dca1.giganews.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!newspeer1.nac.net!feeder.erje.net!eu.feeder.erje.net!news.swapon.de!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Simon Clubley Newsgroups: comp.lang.ada Subject: Re: In the pipeline. Date: Mon, 1 Sep 2014 16:50:45 +0000 (UTC) Organization: A noiseless patient Spider Message-ID: References: <077c3724-0a8e-41ba-b01f-c81fe92fe3a8@googlegroups.com> <65fa0c3d-e5d1-4067-978a-74ea3c2e5aea@googlegroups.com> Injection-Date: Mon, 1 Sep 2014 16:50:45 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="e458ff8b81bc0c159989eb0e36c6e372"; logging-data="3652"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+vySkEFfZOpyfZht89PDeKgXEOJ3TEAY4=" User-Agent: slrn/0.9.8.1 (VMS/Multinet) Cancel-Lock: sha1:ljJl3kOtfyelMhqp0SGXr4aM5kU= Xref: number.nntp.dca.giganews.com comp.lang.ada:188777 Date: 2014-09-01T16:50:45+00:00 List-Id: On 2014-09-01, gdotone@gmail.com wrote: > Newbie: only in Chapter 2 of Ada 95, so, please forgive ... > > Can Ada write to specific locations, address spaces? > I strongly recommend you start new threads in future and not post into an unrelated thread. Among other reasons, your question may never be seen because people might be skipping over a thread. In answer to your question, yes it can. See here for an example: http://en.wikibooks.org/wiki/Ada_Programming/Attributes/%27Address BTW, in that example, assuming the device register does not contain a signed 32 bit integer, I disagree with the use of Integer_32 if Integer_32 is supposed to be a signed 32 bit integer. An unsigned 32 bit datatype would be far better here. Simon. -- Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP Microsoft: Bringing you 1980s technology to a 21st century world