comp.lang.ada
 help / color / mirror / Atom feed
From: "chris.danx" <chris.danx@ntlworld.com>
Subject: rep clause confusion
Date: Tue, 1 Jan 2002 01:25:03 -0000
Date: 2002-01-01T01:25:03+00:00	[thread overview]
Message-ID: <ed8Y7.27607$4x4.3341820@news2-win.server.ntlworld.com> (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





             reply	other threads:[~2002-01-01  1:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-01  1:25 chris.danx [this message]
2002-01-01  5:23 ` rep clause confusion Ted Dennison
2002-01-03 16:24 ` Jerry Petrey
replies disabled

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