comp.lang.ada
 help / color / mirror / Atom feed
From: "Jeffrey R. Carter" <spam.jrcarter.not@spam.not.acm.org>
Subject: Re: quiz for Sequential_IO Read
Date: Sun, 3 Sep 2017 13:40:30 +0200
Date: 2017-09-03T13:40:30+02:00	[thread overview]
Message-ID: <oogpf5$nl7$1@dont-email.me> (raw)
In-Reply-To: <oogne5$94b$1@newsreader4.netcologne.de>

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

  reply	other threads:[~2017-09-03 11:40 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-03 11:01 quiz for Sequential_IO Read Frank Buss
2017-09-03 11:40 ` Jeffrey R. Carter [this message]
2017-09-03 12:47   ` Frank Buss
2017-09-03 13:44     ` Jeffrey R. Carter
2017-09-03 15:38       ` AdaMagica
2017-09-03 12:26 ` Dmitry A. Kazakov
2017-09-03 12:43   ` Frank Buss
2017-09-03 13:11     ` Dmitry A. Kazakov
2017-09-04 19:58       ` Frank Buss
2017-09-04 20:55         ` Dmitry A. Kazakov
2017-09-04 21:51           ` Frank Buss
2017-09-05  1:54             ` Dennis Lee Bieber
2017-09-03 17:28 ` J-P. Rosen
2017-09-03 20:10   ` Frank Buss
2017-09-04  5:12     ` J-P. Rosen
2017-09-04  7:37     ` Dmitry A. Kazakov
2017-09-03 20:17   ` Dennis Lee Bieber
2017-09-04  5:14     ` J-P. Rosen
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox