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.8 required=5.0 tests=BAYES_00,INVALID_DATE autolearn=no autolearn_force=no version=3.4.4 Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!ames!pasteur!ucbvax!NOSC-TECR.ARPA!CONTR47 From: CONTR47@NOSC-TECR.ARPA Newsgroups: comp.lang.ada Subject: Alsys provides package unsigned Message-ID: <8804281227.AA06078@oldajpo.sei.cmu.edu> Date: 28 Apr 88 12:23:43 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet List-Id: Alsys provides package unsigned. I The documentation says, in part "This package provides types that implement unsigned bytes and words and related operations" "type BYTE is range 0..255;" "for BYTE'size use 8;" then they suppress overflow and range check. "type WORD is range 0..65535;" "for WORD'size use 16;" again overflow and range check is suppressed. This is their 386 compiler which is still a 286 code generator so it is a 16 bit ccomputer from an Ada point of view. They use unchecked conversion to allow you to convert a byte to short_integer. If anyone wants to know all of the functions I suggest that you contact Alsys because I am concerned that I am approaching the copyright forbidden zone and don't want a visit from the Alsys lawyers or the copyright police. regards, sam harbaugh ---------------------