🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.protocols.iso.dev-environ
Article #419

Re: PElementID

#419
From: Owen Smith
Date: Tue, 22 Jan 1991 15:58
22 lines
1494 bytes
In article <409*mdeslauriers@ccrit.doc.cdn> mdeslauriers@ccrit.doc.CDN
(Michel Deslauriers) writes:

>The comments in the file psap.h says that the value range for ASN1 Tag
>Numbers is : 0 .. 16383
>
>After few tries, it seems that an ID overflow occurs if the ID is bigger
>than 8191.
>
>This means only 13 bits (PE_ID_BITS) are available instead of 14.

Although I am not familiar with the ISODE code, this sounds correct. It takes
2 bits to represent the Class (Universal, Application, Context and Private)
and 1 bit to represent the Form (Cons and Prim) which leaves you with 13 bits.
Some other implementations have allowed 14 bits of ID by trying to work
out the Form at encoding time based on the presence of prim or cons pointers.
However, this scheme has difficulty telling the difference between a zero
length primitive and an empty constructor. Maybe ISODE used to do this but
doesn't anymore (due to above problem) and the comments in psap.h are out
of date?

The views expressed are my own and are not necessarily those of Acorn.
Technical Details
Message-ID: <4745@acorn.co.uk>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!mcsun!ukc!acorn!OSmith
References: <409*mdeslauriers@ccrit.doc.cdn>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!mcsun!ukc!acorn!OSmith
From: OSmith@acorn.co.uk (Owen Smith)
Newsgroups: comp.protocols.iso.dev-environ
Subject: Re: PElementID
Message-ID: <4745@acorn.co.uk>
Date: 22 Jan 91 15:58:05 GMT
References: <409*mdeslauriers@ccrit.doc.cdn>
Sender: osmith@acorn.co.uk
Distribution: comp
Organization: Acorn Computers Ltd, Cambridge, England
Lines: 22