From: john.nospam@nospamassen.nospamdemon.co.uk (John McCabe)
Subject: Re: creating a 16 bit value from 2 8 bit values in Ada
Date: Fri, 02 Aug 2002 08:36:34 GMT
Date: 2002-08-02T08:36:34+00:00 [thread overview]
Message-ID: <3d4a4468.2766097@news.demon.co.uk> (raw)
In-Reply-To: 3D49E975.F87A668@san.rr.com
On Fri, 02 Aug 2002 02:07:24 GMT, Darren New <dnew@san.rr.com> wrote:
>Mark wrote:
>> Could someone show me how to concatenate the Hi and Lo components?
>> The end result - obviously - would be a 16 bit value. I've waded
>
>Wouldn't it be something along the lines of
> result := lo + 256 * hi;
That's pretty much what I would have said!
next prev parent reply other threads:[~2002-08-02 8:36 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-02 1:40 creating a 16 bit value from 2 8 bit values in Ada Mark
2002-08-02 2:07 ` Darren New
2002-08-02 8:36 ` John McCabe [this message]
2002-08-02 18:21 ` Stephen Leake
2002-08-03 14:37 ` Robert Dewar
2002-08-03 0:52 ` Kevin Krieser
2002-08-03 1:59 ` SteveD
2002-08-03 2:02 ` creating a 16 bit value from 2 8 bit values in Ada (again) SteveD
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox