Hi all

 

I have a doubt regarding the encoding of a BIT STRING, with named bits.

 

Assume the definition of the BIT STRING to be as follows:

 

abc BIT STRING {

spare15(0),

spare14(1),

spare13(2),

spare12(3),

spare11(4),

spare10(5),

spare9(6),

spare8(7),

spare7(8),

spare6(9),

spare5(10),

spare4(11),

spare3(12),

spare2(13),

uea1(14),

uea0(15)

} (SIZE (16))

 

What will be the encoded output for the following cases:

 

1.       c1_abc { spare15, spare 13        }

 

2.       c2_abc { spare15 }

Will 1 or 1000000000000000 be encoded?

 

Could some one throw some light on encoding of BIT STRINGS with named bits?

 

Thanks in advance

Kiran Kumar Nadella.

 

Reply via email to