comp.lang.ada
 help / color / mirror / Atom feed
* rep clause confusion
@ 2002-01-01  1:25 chris.danx
  2002-01-01  5:23 ` Ted Dennison
  2002-01-03 16:24 ` Jerry Petrey
  0 siblings, 2 replies; 3+ messages in thread
From: chris.danx @ 2002-01-01  1:25 UTC (permalink / raw)


Hi,

I've been looking at rep clauses(?), for laying seg descriptors for the x86,
and one thing confuses me.

for some_type
    use record
        abc        at 0 range 0..7;
        def        at 1 range 0..7;
    end record;

The 'at' bit confuses me.  Does this mean the storage element (numbered from
zero)?  If so that means, abc spans storage element zero bits 0..7 and def
spans storage element 1 bits 0..7.  Is this correct?


Happy New Year,
Chris





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-01-03 16:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-01  1:25 rep clause confusion chris.danx
2002-01-01  5:23 ` Ted Dennison
2002-01-03 16:24 ` Jerry Petrey

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