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: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: "Jeffrey R. Carter" Newsgroups: comp.lang.ada Subject: Re: quiz for Sequential_IO Read Date: Sun, 3 Sep 2017 13:40:30 +0200 Organization: Also freenews.netfront.net; news.tornevall.net; news.eternal-september.org Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sun, 3 Sep 2017 11:36:05 -0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="ed445aea6c6564df148c8dd697e7867b"; logging-data="24231"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/yHFJy1BH7O/y/3rsXvEEVDqrh4Cfj7M4=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 In-Reply-To: Content-Language: en-US Cancel-Lock: sha1:zfBhD9whu/3E0W//pPOk4tHqkCw= Xref: news.eternal-september.org comp.lang.ada:47908 Date: 2017-09-03T13:40:30+02:00 List-Id: On 09/03/2017 01:01 PM, Frank Buss wrote: > type Byte is range 0..255; Note that Byte is a signed type, so Byte'Base will have a range that includes -255, and Byte'Base'Size will probably be 16. So I'd expect it to read 16 bits at a time. That is A = 16#6568# = 25960, and B = 16#6C6C# = 27756 C would then be zero. -- Jeff Carter "Oh Lord, bless this thy hand grenade, that with it thou mayst blow thine enemies to tiny bits, in thy mercy." Monty Python and the Holy Grail 24