>I would not rely on specifying the bit_order.  On the other hand,
>the value of the Default_Bit_Order constant can be useful in
>a record representation clause to control the bit positions you
use,
>when combined with tricks using multiplication and Boolean'Pos().
>This is of course left as an exercise to the reader...
>-Tucker Taft


I use a package based on one by Norm Cohen (from an Ada Letters
article) with the addition of the Default_Bit_Order so the constants
don't need changing for different targets.  I've put it out for
general consumption at

http://www.classwide.com/products/freestuf.htm


---
Pat Rogers                            Training and Consulting in:
http://www.classwide.com      Deadline Schedulability Analysis
[log in to unmask]                   Software Fault Tolerance
(281)648-3165                        Real-Time/OO Languages