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,FREEMAIL_FROM, INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,e9498cf5655316a X-Google-Attributes: gid103376,public From: johnherro@aol.com (John Herro) Subject: Re: Ada83 and Ada95 interrupt handling Date: 1999/02/23 Message-ID: <19990223150501.06135.00000833@ngol05.aol.com>#1/1 X-Deja-AN: 447601558 References: <36D303B8.B1AB9A49@swol.de> X-Admin: news@aol.com Organization: AOL http://www.aol.com Newsgroups: comp.lang.ada Date: 1999-02-23T00:00:00+00:00 List-Id: Armin writes: > for DSP_Interrupt use at System.Value("16#xxxxxxxx#"); > for Timer_Interrupt use at System.Value("16#xxxxxxxx#"); ... > How can I do the same thing in Ada95? For compatibility, Ada 95 accepts the older Ada 83 syntax, and with Ada 95, you no longer have to WITH System. You could simply write for DSP_Interrupt use at 16#xxxxxxxx; for Timer_Interrupt use at 16#xxxxxxxx; However, it would be better to use the new Ada 95 syntax: for DSP_Interrupt'Address use 16#xxxxxxxx#; for Timer_Interrupt'Address use 16#xxxxxxxx#; I hope this helps. - John Herro You can download a shareware AdaTutor program at http://members.aol.com/AdaTutor