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 Lines: 16 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 ---------------------