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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,c30642befcd7bf85 X-Google-Attributes: gid103376,public From: kilgallen@eisner.decus.org (Larry Kilgallen) Subject: Addresses of Subprograms (was: New GNAT ports) Date: 1997/01/11 Message-ID: <1997Jan11.152602.1@eisner>#1/1 X-Deja-AN: 209209499 x-nntp-posting-host: eisner.decus.org references: <5asvku$jtu$1@goanna.cs.rmit.edu.au> <32D2B847.6A7@lmtas.lmco.com> <5avfqo$it9$1@goanna.cs.rmit.edu.au> x-nntp-posting-user: KILGALLEN x-trace: 853014403/15171 organization: LJK Software newsgroups: comp.lang.ada Date: 1997-01-11T00:00:00+00:00 List-Id: In article , dewar@merv.cs.nyu.edu (Robert Dewar) writes: > Richard said > > "The only reason that I bothered about the placement of code at all > was that the 8051 book I was studying included a memory test program > that did this. According to the Ada 83 LRM I had handy, you _couldn't_ > supply address clauses for code." > > That is wrong, Ada 83 did allow you to specify the address of a subprogram, > and in fact using this in conjunction with pragma Interface was a well > known way of fooling a compiler into providing a mechanism equiavlent to > an indirect call: Was that a requirement ? The VAX Ada Version 2.0 manual I have from DEC shows a little pentagon-shaped logo saying "Validated Ada" in the middle and cites ANSI/MIL-STD 1815A as determined by the AJPO under its current testing procedures. But Section 13.5 after Paragraph 7 has vendor-specific (blue) text saying "In VAX Ada, the simple name must be the name of an object." Larry Kilgallen