From: Jim Rogers <jimmaureenrogers@worldnet.att.net>
Subject: Re: 64bit access to an array of 8bit values
Date: Sun, 03 Mar 2002 15:38:00 GMT
Date: 2002-03-03T15:38:00+00:00 [thread overview]
Message-ID: <3C824348.2010203@worldnet.att.net> (raw)
In-Reply-To: 3C823A1A.6030006@users.sf.net
Dave Poirier wrote:
> I'm trying to modelize a small virtual machine, and I'm stuck on the
> memory model. I'm defining the memory as an array of 8bit values, so
> that I am able to access every byte individually. The problem comes
> when I try to access them with other data size, like 16/32/64bit. GNAT
> simply refuses to do the pointer conversion (yeah, probably a bad habit).
>
Please excuse me if I do not accurately understand your goals here.
It looks to me like you are trying to allocate different globs of
data from a reserved chunk of bytes.
If this is true then I suggest you read about Ada Storage Pools.
I believe Storage Pools are the mechanism you want.
Jim Rogers
next prev parent reply other threads:[~2002-03-03 15:38 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-03 14:58 64bit access to an array of 8bit values Dave Poirier
2002-03-03 15:38 ` Jim Rogers [this message]
2002-03-03 18:02 ` John R. Strohm
2002-03-03 16:39 ` Dave Poirier
2002-03-03 17:27 ` Jeffrey Creem
2002-03-05 20:49 ` John R. Strohm
2002-03-05 23:52 ` Jeffrey Creem
2002-03-06 7:30 ` John R. Strohm
2002-03-06 11:50 ` Jeffrey Creem
2002-03-07 20:03 ` John R. Strohm
2002-03-04 10:29 ` Robert Dewar
2002-03-04 13:02 ` Larry Kilgallen
2002-03-04 13:41 ` Dave Poirier
2002-03-03 22:24 ` David C. Hoos, Sr.
2002-03-03 22:51 ` Dave Poirier
2002-03-04 2:40 ` David C. Hoos, Sr.
2002-03-04 4:08 ` David Starner
2002-03-04 10:31 ` Robert Dewar
2002-03-04 18:00 ` Warren W. Gay VE3WWG
2002-03-04 3:15 ` Pat Rogers
2002-03-04 7:23 ` Jeffrey Carter
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox