From: Toshitaka KUMANO <kumano@cityfujisawa.ne.jp>
Subject: Re: Question about "for X'Size use ..."
Date: Sat, 11 Aug 2001 05:58:27 +0900
Date: 2001-08-11T20:49:55+00:00 [thread overview]
Message-ID: <3B744AF3.BBB1B947@cityfujisawa.ne.jp> (raw)
In-Reply-To: pNagsCYp$jRu@eisner.encompasserve.org
For your interests.
Larry Kilgallen wrote:
> That's what I like about ASN.1. I don't know XDR.
Thanks to XDR in GNAT, we have been able to exchange any arbitrary
data types among PowerPC (big endian) and Alpha (little endian),
including record types where components are designated with
some non-natural bit width and location, such as,
type Data is
record
Bits_12 : Natural range 0 .. 2**12;
Bits_20 : Natural range 0 .. 2**20;
end record;
for Data use
record
Bits_12 at 0 range 0 .. 11;
Bits_20 at 0 range 12 .. 31;
end record;
for Data'Size use 32;
--
kuma
next prev parent reply other threads:[~2001-08-10 20:58 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-09 17:02 Question about "for X'Size use ..." Darren New
2001-08-09 17:37 ` Florian Weimer
2001-08-09 22:39 ` Robert Dewar
2001-08-10 8:46 ` Florian Weimer
2001-08-10 10:36 ` Larry Kilgallen
2001-08-10 13:15 ` Question about Ted Dennison
2001-08-10 13:54 ` Larry Kilgallen
2001-08-10 17:09 ` Question about "for X'Size use ..." Robert Dewar
2001-08-10 17:11 ` Robert Dewar
2001-08-10 20:25 ` Florian Weimer
2001-08-10 21:43 ` Larry Kilgallen
2001-08-10 20:58 ` Toshitaka KUMANO [this message]
2001-08-10 14:46 ` john mann
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox