Murali wrote:
> 
> Hi All,
> 
> I am having doubts on PER encoding. Please help in clearing the
> issues.
> 
> *Encoding of Normally small non negative whole number
> 10.6.2 lause of X691 says that "if n >= 64 .....". But what is the
> maximum value it can take? If it is less than or equal to 255, why do
> we need to appended a length?
> 
> *I believe that only negative number has to be 2's complemented.
> Please tell me yes or no.
> 
> *Encoding of a constrained whole number
> In aligned variant,
> if 2<= range <=255, the number is encoded in upper bound(log2range)
> bits.
> Consider, the range (1..8). 4 bits are needed for the representation.
> If the number to be encoded is 1, its equivalent encoding is 0001.
> Please let me know what I have interpreted is right?
> 
> 
> I will keep posting encoding queries. Kindly clarify those doubts.

You should find answers in my book that you can freely download from
OSS Nokalva's web site at:
http://www.oss.com/asn1/dubuisson.html
-- 
Olivier DUBUISSON
france telecom R&D

DTL/TAL - 22307 Lannion Cedex - France
t: +33 2 96 05 38 50 - f: +33 2 96 05 39 45 - http://asn1.elibel.tm.fr/

Reply via email to