Google
 

Trailing-Edge - PDP-10 Archives - SRI_NIC_PERM_SRC_1_19910112 - 6-1-monitor/scpar.unv
There are 15 other files named scpar.unv in the archive. Click here to see a list.
x,5D@P E>= X#I98
	IFN FTSxHOW,..LOC==.


DEFINE	WORD(NAM,8NUMB<1>),<
	IFN X<..MSK>,<..OFF==.x.OFF+1> 

	..MS	K==0		
	FIELDM(N	8AM,<.FWORD>)	

	X	..MSK==0		
	..O	xFF==..OFF+NUMB	


>

DEFINE	NXT
8WRD(NUMB<1>),<
	
X..MSK==0
	..OFF=
x..OFF+NUMB

>

DEFINE	FILLER(N8UM),<
	..FLG==POXS(..MSK)
	IFE ..xMSK,<..FLG==-1>

	IFG <^D<NUM>-<^D
835-..FLG>>,<PRINT
XX ?FILL TOO BIG I
xN A STRUCTURE>
	...MSK==MASK.(^D
	IFN FTSHO
	  PHASE ..OFF
	  EXP ...MSK8
	>
	..MSK==..MXSK!...MSK
>

x

DEFINE	HWORD(nam),<
	..FLG==0	8	
	IFE ..MSK&.LHXALF,<FIELDM(nam,.xLHALF)
			  ..FLG==1>
	IFE ..FLG8,<..MSK==..MSK!.LXHALF
		   IFE ..xMSK&.RHALF,<FIELDM(nam,.RHALF)
		8		     ..FLG==1>
		   IFE ..FLG,<xNXTWRD
			      FIELDM(nam,.LHALF8) >
		  >
>

X
DEFINE	FIELD(NAxM,SIZ,POS),<
	..FLG==0		

	IFB 8<POS>,<IFB <SIZ>,X<
	  ...MSK==.RTxMSK(<<^-<<..MSK>>>>) 
	  IFE ...M8SK,<..OFF==..OFF+X1 
	    ..MSK==0x		
	    ...MSK==-1
	  >
	  FIEL8DM(NAM,<...MSK>)	X
	x..FLG==-1		
	>>

	IFNB <SIZ>,<.SIZ==^D<SIZ>8> 

	IFNB <POS>X,<		
	  FIELDM(NxAM,MASK.(.SIZ,POS)) 
	  ..FLG==-18		
	  ..BITS==MAXSK.(.SIZ,POS) 
	x>

	IFE ..FLG,<IFGE <^D<.SIZ>-^D836>,< 
	  WORD(NXAM,<^D<.SIZ>/^D36x>) 
	  IFN <<^D<.SIZ>-<^D<.SIZ>/^8D36>*^D36>>,<	
	X    FIELD(...,<<^xD<.SIZ>-<^D<.SIZ>/^D36>*^D36>>) 
8	  >

	  ..FLG=X=-1		
	>>

	IFxE ..FLG,<		
	  ..BITS==MASK.(^D<.8SIZ>,<^D<.SIZ>-1>X) 

	  REPEAT <x^D36-^D<.SIZ>+1>,< 
	    IFE ..FL8G,<	
	      IFE X<..BITS&..MSK>,< x
			..MSK==..MSK!..BITS 
		..FLG8==-1 
	       > X

	    IFE ..FLxG,..BITS==..BITS_<-1> 
	    >
	 8 >

	IFE ..FLG,X<		
	  ..BITS==MxASK.(^D<.SIZ>,<^D<.SIZ>-1>) 
	  .8.OFF==..OFF+1	
	X  ..MSK==..BITS		x
	>

	MSKSTR( A'NAM,\..OFFC,.. 8BITS) 
	A.'NAM= X=..OFF
	IFN FTSH xOW,<
	  PHASE	A!.'NAM
	  EXP	A'!8NAM
	>>

	..OL!XD==..BITS		
	...!xOLD==..BITS		

">

DEFINE	BIT(N"8AM),<
	..BITS==L"XFTBT.(..OLD)	

"x	IFE ..BITS,<PRIN#TX ?NO ROOM FOR B#8IT IN LAST FIELD>#X

	A%'NAM==..B#xITS_<-<^D35-POS(.$..OLD)>> 
	A.'N$8AM==..OFF		

	M$XSKSTR(A'NAM,\..O$xFFC,..BITS) 
	I%FN FTSHOW,<
	  P%8HASE ..OFF
	  EX%XP A'NAM
	>

	%x..OLD==..OLD&<^-<&..BITS>> 

>
&8
DEFINE	FIELDM(NA&XM,MASK),<
	IFN M&xASK&..MSK,<	
	  '..MSK==0		
	  ..'8OFF==..OFF+1
	>X

	..MSK==..MSK!'xMASK	

	MSKSTR((A'NAM,\..OFFC,M(8ASK) 
	A.'NAM==(X..OFF
	IFN FTSHO(xW,<
	  PHASE	A.)'NAM
	  EXP	A'N)8AM
	>
>

DEFI)XNE ENDSTR(LENNAM<)xLEN>,LSTNAM<LST>)*,<

	IFN ..MSK,*8<..OFF==..OFF+1> *X

	A.'LSTNAM==*x..OFF	

	IFN FT+SHOW,DEPHASE

	+8..LOK==..LOK+1
	+XIFN ..LOK,<PRINTX+x ? MISSING BEGSTR,>

	IF2,<
	  I,8FDEF ...MSK,<SUPP,XRESS ...MSK>
	  ,xIFDEF ..BITS,<SUP-PRESS ..BITS>
	 -8 IFDEF .SIZ,<SUPP-XRESS .SIZ>
	  IF-xDEF ..MSK,<SUPPRE.SS ..MSK>
	  IFD.8EF ..OFF,<SUPPRES.XS ..OFF>
	  IFDE.xF ..FLG,<SUPPRESS/ ..FLG>
	  IFDEF/8 ..LOK,<SUPPRESS /X..LOK>
	  IFDEF /x..LOC,<SUPPRESS .0.LOC>
	  IFDEF .08.OLD,<SUPPRESS ..0XOLD>
	  IFDEF ..0x.OLD,<SUPPRESS ..1.OLD>
	>

	IF118,<
	  IFDEF ...M1XSK,<.XCREF ...MSK1x>
	  IFDEF ..BIT2S,<.XCREF ..BITS>28
	  IFDEF .SIZ,<2X.XCREF .SIZ>
	  2xIFDEF ..MSK,<.XCR3EF ..MSK>
	  IFD38EF ..FLG,<.XCREF 3X..FLG>
	  IFDEF 3x..OFF,<.XCREF ..O4FF>
	  IFDEF ..L48OK,<.XCREF ..LOK>4X
	  IFDEF ..LOC,4x<.XCREF ..LOC>
	5  IFDEF ..OLD,<.X58CREF ..OLD>
	  I5XFDEF ...OLD,<.XCR5xEF ...OLD>
	>
6
	PURGE WORD,NXTW68RD,FILLER,HWORD,F6XIELD,BIT,FIELDM
6x
	A.'LENNAM==..7OFF-B
	IFN FTSH78OW,<RELOC ..LOC>>7X



	..MSK==07x		
	..OFF==B		
	A.D==B	

	88IFDEF ..LOK,<IFL 8X..LOK,<PRINTX ? N8xEW BEGSTR WITHOUT9 ENDSTR>>

	..LOK==-1


	..L#L#M0#OBEG
	  Eg$\` 8Yg
	c==0
8y	d==0
	IRP B,<9
		d==<d_^DA>98+<B_<^D36/^DA>>9X
		c==c+1
		I9xFE c-<^D36/^DA>:,<
			EXP d
		Kx	c==0
			d==0
		>>

	IFN c,L8<
		d==d_<<<^DLX36/^DA>-c>*^DALx>
		EXP d
	>

		EXP d
	>
GtqP GtzP Gt)3P Gt8zP Gt:9P GtLzP GuI7P GuLzP Gum6P GvzP Gv
{P Gv<QP GvXzP GvYP GvZ2P 	G
8`Q G
=Q xG
=P'G
@Q G
&=Q G
ak7P G
ak<P G
v[ Q G=P'G=`Q G(`Q G,=Q xG,H Q G-Q K:%yS R%m
	%NEA==%%%CTR
	NSF.A=&h$MXSFA==K:&= bIWi`

	IFN ..MSK,<..OFF==..OFQQF+1> 

	PS.B==OY..OFF	

	IFN FTNISHOW,DEPHASE

	G..LOK==..LOK+1
	FYIFN ..LOK,<PRINTXDa ? MISSING BEGSTR1q>

	IF2,<
	  I))FDEF ...MSK,<SUPPRESS ...MSK>
	  aIFDEF ..BITS,<SUPziPRESS ..BITS>
	 xy IFDEF .SIZ,<SUPPjQRESS .SIZ>
	  IFfyDEF ..MSK,<SUPPREQYSS ..MSK>
	  IFDREF ..OFF,<SUPPRESR0S ..OFF>
	  IFDERPF ..FLG,<SUPPRESSRp ..FLG>
	  IFDEFS ..LOK,<SUPPRESS S0..LOK>
	  IFDEF SP..LOC,<SUPPRESS .Sp.LOC>
	  IFDEF .T.OLD,<SUPPRESS ..T0OLD>
	  IFDEF ..TP.OLD,<SUPPRESS ..Tp.OLD>
	>

	IF1U,<
	  IFDEF ...MU0SK,<.XCREF ...MSKUP>
	  IFDEF ..BITUpS,<.XCREF ..BITS>V
	  IFDEF .SIZ,<V0.XCREF .SIZ>
	  VPIFDEF ..MSK,<.XCRVpEF ..MSK>
	  IFDWEF ..FLG,<.XCREF W0..FLG>
	  IFDEF WP..OFF,<.XCREF ..OWpFF>
	  IFDEF ..LXOK,<.XCREF ..LOK>X0
	  IFDEF ..LOC,XP<.XCREF ..LOC>
	Xp  IFDEF ..OLD,<.XYCREF ..OLD>
	  IY0FDEF ...OLD,<.XCRYPEF ...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LL@P"]NtH P!]NtL@P @]OH P ]OL`P'@]O< Q @_69: Qq$%%%CTR==%%B!%CTR+1
	%NEA==%%%CTR
	NSF.A==at)3P atkyP at|XP auI7P auLzP auh6P auhzP auxUP av:=P av\yP a
5|@P'~a
>,Q xa
ak7P a
ak<P a
t Q a
t=Q xa
|*@P a@Q xa.<@P'a? w'8<^L<<A>&<-<A>>>><<A>&<aL-[yP$aLt)3P aLt:P aLtkP aLuI7P aLuLzP aLu[yP aLv
vP aLv=P aN@P'aN5I`Q xaNm|@Q @aO; P'aOL`Q xaPt)3P aPt+P aPt;wP aPtH:P aPtI;P aPt[4P aPtlUP aPuZP aPu)WP aPuI7P aPuLzP aPuMqP aPulYP aPv
tP aPv=P aPvN8P aPvx5P aRJ`P  aR{@Q ~aR$Q xaR$]@Q aR-Z P"aR6*`P'aRMmQ |aRTk@Q xaRfx`P @aRv,@P aS: P!aSL`Q xaS'P$aS<`P gt)3P gt;ZP gtH:P guI7P guLzP guX<P gvyP g
mQ xg
$Q g
ak7P g
ak<P g<L`P'g
vi9P g.,@ "p
	JRST [M3IOVX T1,A
IFB <QB>,<RET>
IFNB <]QB>,<
   IFIDN <qB><CPOPJ>,<RET>
(a   IFDIF <B><CPO.	PJ>,<JRST B>
   >
		]
B>
  g@P 	g$]Z QA
	SAVEAC Ay<T1,T2,T3,T4,T5,TKY6,P1,P2>
IFN FTTO9RACE,<
	XMOVEI TOY1,.		
IFNB <C>,P<XMOVEI T2,[ASCIZq /C/]>
IFB <C>Ix,<SETZ T2,>
	MOVJX T3,EVTB
	CALL7x EVTTRC		
>
	MO8VX T1,.NCA
	MOVX T2,EVTB
MOVgPt)3P gPuI7P gPuLzP gPulP gPv P gPv@P gPv`P gRvQ gSQ gS Q gS0Q q@ )A==:BI
,=P q pY
	$CBACC=py=<Z 46>		
	A (<B>,46C,D) (<z sa 
	$CBACT=t=<Z 65>		
	A (<B>,65C,D) (<8z tQ'
	$CBCCT=tq=<Z 65>		
	A (<B>,65C,D) (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