7 type Short_Int
is mod 2**16;
14 F1
at 0 range 0 .. 15;
15 F2
at 0 range 16 .. 31;
17 for Rec1
'Bit_Order use System
.High_Order_First
;
18 for Rec1
'Scalar_Storage_Order use System
.High_Order_First
;
24 R1
at 0 range 0 .. 31;
26 for Rec2
'Bit_Order use System
.High_Order_First
;
27 for Rec2
'Scalar_Storage_Order use System
.High_Order_First
;
33 Data
at 0 range 1 .. 32;
35 for Rec3
'Bit_Order use System
.High_Order_First
;
36 for Rec3
'Scalar_Storage_Order use System
.High_Order_First
;
38 procedure Copy
(Message
: in Rec3
) is
41 Local
:= (R1
=> Message
.Data
);
42 if Local
.R1
/= Message
.Data
then
50 Message
:= (Data
=> (2, 3));