Dear Mr.Oliver, I have read your book.
In the case of Unconstrained whole number encoding, it will be encoded in 2's complement form, immaterial of the number (whether it is positive or negative). Is it correct? Still I have this doubt after reading the book. Thanks a lot, regards, Murali. DUBUISSON Olivier wrote: > 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/ Information contained and transmitted by this E-MAIL is proprietary to Synergy Infotech Private Limited and is intended for use only by the individual or entity to which it is addressed, and may contain information that is privileged, confidential or exempt from disclosure under applicable law. If this is a forwarded message, the content of this E-MAIL may not have been sent with the authority of the Company. If you are not the intended recipient, an agent of the intended recipient or a person responsible for delivering the information to the named recipient, you are notified that any use, distribution, transmission, printing, copying or dissemination of this information in any way or in any manner is strictly prohibited. We have taken precautions to minimize the risk of transmitting software viruses, but we advise you to carry out your own virus checks on any attachment to this message. We cannot accept liability for any loss or damage caused by software viruses. If you have received this communication in error, please delete this mail & notify us immediately at mailto:[EMAIL PROTECTED] --------------------------------------------------------------------------------------------------------------