Google
 

Trailing-Edge - PDP-10 Archives - BB-KL11L-BM_1990 - t20sub/scpar.unv
There are 15 other files named scpar.unv in the archive. Click here to see a list.
x,UD@P E>= 
l=h
	IFN FTS
(HOW,..LOC==.


H
DEFINE	WORD(NAM,
hNUMB<1>),<
	IFNMK>,<..OFF==.

	..MS	
	FIELDM(ND>)	

	..MSK==0		
	..O(FF==..OFF+NUMB	
H
>

DEFINE	NXThWRD(NUMB<1>),<
	..MSK==0
	..OFF=(..OFF+NUMB

>
H
DEFINE	FILLER(NhUM),<
	..FLG==POS(..MSK)
	IFE ..(MSK,<..FLG==-1>
H	IFG <^D<NUM>-<^Dh35-..FLG>>,<PRINTX ?FILL TOO BIG I(N A STRUCTURE>
H	...MSK==MASK.(^Dh<NUM>,<..FLG+^D<NUM>>)
	IFN FTSHO(W,<
	  PHASE ..OHFF
	  EXP ...MSKh
	>
	..MSK==..MSK!...MSK
>

(

DEFINE	HWORD(nHam),<
	..FLG==0	h	
	IFE ..MSK&.LHALF,<FIELDM(nam,.(LHALF)
			  ..FLHG==1>
	IFE ..FLGh,<..MSK==..MSK!.LHALF
		   IFE ..(MSK&.RHALF,<FIELDHM(nam,.RHALF)
		h		     ..FLG==1>
		   IFE ..FLG,<(NXTWRD
			      HFIELDM(nam,.LHALFh) >
		  >
>


DEFINE	FIELD(NA(M,SIZ,POS),<
	..HFLG==0		

	IFB h<POS>,<IFB <SIZ>,<
	  ...MSK==.RT(MSK(<<^-<<..MSK>>H>>) 
	  IFE ...MhSK,<..OFF==..OFF+1 
	    ..MSK==0(		
	    ...MSK==H-1
	  >
	  FIELhDM(NAM,<...MSK>)	
	(..FLG==-1		
	>>

	IFNB <SIHZ>,<.SIZ==^D<SIZ>h> 

	IFNB <POS>,<		
	  FIELDM(N(AM,MASK.(.SIZ,POSH)) 
	  ..FLG==-1h		
	  ..BITS==MASK.(.SIZ,POS) 
	(>

	IFE ..FLG,<HIFGE <^D<.SIZ>-^Dh36>,< 
	  WORD(NAM,<^D<.SIZ>/^D36(>) 
	  IFN <<^D<H.SIZ>-<^D<.SIZ>/^hD36>*^D36>>,<	
	    FIELD(...,<<^(D<.SIZ>-<^D<.SIZ>H/^D36>*^D36>>) 
h	  >

	  ..FLG==-1		
	>>

	IF(E ..FLG,<		
	  .H.BITS==MASK.(^D<.hSIZ>,<^D<.SIZ>-1> ) 

	  REPEAT < (^D36-^D<.SIZ>+1>, H< 
	    IFE ..FL hG,<	
	      IFE !<..BITS&..MSK>,< !(
			..MSK==..MSK!H!..BITS 
		..FLG!h==-1 
	       > "

	    IFE ..FL"(G,..BITS==..BITS_"H<-1> 
	    >
	 "h >

	IFE ..FLG,#<		
	  ..BITS==M#(ASK.(^D<.SIZ>,<^D#H<.SIZ>-1>) 
	  .#h.OFF==..OFF+1	
	$  ..MSK==..BITS		$(
	>

	MSKSTR($HA'NAM,\..OFFC,..$hBITS) 
	A.'NAM=%=..OFF
	IFN FTSH%(OW,<
	  PHASE	A%H.'NAM
	  EXP	A'%hNAM
	>>

	..OL&D==..BITS		
	...&(OLD==..BITS		

&H>

DEFINE	BIT(N&hAM),<
	..BITS==L'FTBT.(..OLD)	

'(	IFE ..BITS,<PRIN'HTX ?NO ROOM FOR B'hIT IN LAST FIELD>(

	A%'NAM==..B((ITS_<-<^D35-POS(.(H..OLD)>> 
	A.'N(hAM==..OFF		

	M)SKSTR(A'NAM,\..O)(FFC,..BITS) 
	I)HFN FTSHOW,<
	  P)hHASE ..OFF
	  EX*P A'NAM
	>

	*(..OLD==..OLD&<^-<*H..BITS>> 

>
*h
DEFINE	FIELDM(NA+M,MASK),<
	IFN M+(ASK&..MSK,<	
	  +H..MSK==0		
	  ..+hOFF==..OFF+1
	>

	..MSK==..MSK!,(MASK	

	MSKSTR(,HA'NAM,\..OFFC,M,hASK) 
	A.'NAM==-..OFF
	IFN FTSHO-(W,<
	  PHASE	A.-H'NAM
	  EXP	A'N-hAM
	>
>

DEFI.NE ENDSTR(LENNAM<.(LEN>,LSTNAM<LST>).H,<

	IFN ..MSK,.h<..OFF==..OFF+1> /

	A.'LSTNAM==/(..OFF	

	IFN FT/HSHOW,DEPHASE

	/h..LOK==..LOK+1
	0IFN ..LOK,<PRINTX0( ? MISSING BEGSTR0H>

	IF2,<
	  I0hFDEF ...MSK,<SUPP1RESS ...MSK>
	  1(IFDEF ..BITS,<SUP1HPRESS ..BITS>
	 1h IFDEF .SIZ,<SUPP2RESS .SIZ>
	  IF2(DEF ..MSK,<SUPPRE2HSS ..MSK>
	  IFD2hEF ..OFF,<SUPPRES3S ..OFF>
	  IFDE3(F ..FLG,<SUPPRESS3H ..FLG>
	  IFDEF3h ..LOK,<SUPPRESS 4..LOK>
	  IFDEF 4(..LOC,<SUPPRESS .4H.LOC>
	  IFDEF .4h.OLD,<SUPPRESS ..5OLD>
	  IFDEF ..5(.OLD,<SUPPRESS ..5H.OLD>
	>

	IF15h,<
	  IFDEF ...M6SK,<.XCREF ...MSK6(>
	  IFDEF ..BIT6HS,<.XCREF ..BITS>6h
	  IFDEF .SIZ,<7.XCREF .SIZ>
	  7(IFDEF ..MSK,<.XCR7HEF ..MSK>
	  IFD7hEF ..FLG,<.XCREF 8..FLG>
	  IFDEF 8(..OFF,<.XCREF ..O8HFF>
	  IFDEF ..L8hOK,<.XCREF ..LOK>9
	  IFDEF ..LOC,9(<.XCREF ..LOC>
	9H  IFDEF ..OLD,<.X9hCREF ..OLD>
	  I:FDEF ...OLD,<.XCR:(EF ...OLD>
	>
:H
	PURGE WORD,NXTW:hRD,FILLER,HWORD,F;IELD,BIT,FIELDM
;(
	A.'LENNAM==..;HOFF-B
	IFN FTSH;hOW,<RELOC ..LOC>><



	..MSK==0<(		
	..OFF==B		
	A.D==B	

	<hIFDEF ..LOK,<IFL =..LOK,<PRINTX ? N=(EW BEGSTR WITHOUT=H ENDSTR>>

	..LOK==-1


	..Lop0rBEG
	Eg$\` JQ
	c==0
Jq	d==0
	IRP B,<K
		d==<d_^DA>K0+<B_<^D36/^DA>>KP
		c==c+1
		IKpFE c-<^D36/^DA>L,<
			EXP d
		]p	c==0
			d==0
		>>

	IFN c,^0<
		d==d_<<<^D^P36/^DA>-c>*^DA^p>
		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 d	 ~x
	%NEA==%%%CTR
	NSF.A=x)MXSFA==K:&= tAf{X

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

	PS.B==aQ..OFF	

	IFN FT`ASHOW,DEPHASE

	Y..LOK==..LOK+1
	XQIFN ..LOK,<PRINTXVY ? MISSING BEGSTRCi>

	IF2,<
	  I;!FDEF ...MSK,<SUPP1	RESS ...MSK>
	  YIFDEF ..BITS,<SUP
aPRESS ..BITS>
	 
q IFDEF .SIZ,<SUPP|IRESS .SIZ>
	  IFxqDEF ..MSK,<SUPPREcQSS ..MSK>
	  IFDd	EF ..OFF,<SUPPRESd(S ..OFF>
	  IFDEdHF ..FLG,<SUPPRESSdh ..FLG>
	  IFDEFe ..LOK,<SUPPRESS e(..LOK>
	  IFDEF eH..LOC,<SUPPRESS .eh.LOC>
	  IFDEF .f.OLD,<SUPPRESS ..f(OLD>
	  IFDEF ..fH.OLD,<SUPPRESS ..fh.OLD>
	>

	IF1g,<
	  IFDEF ...Mg(SK,<.XCREF ...MSKgH>
	  IFDEF ..BITghS,<.XCREF ..BITS>h
	  IFDEF .SIZ,<h(.XCREF .SIZ>
	  hHIFDEF ..MSK,<.XCRhhEF ..MSK>
	  IFDiEF ..FLG,<.XCREF i(..FLG>
	  IFDEF iH..OFF,<.XCREF ..OihFF>
	  IFDEF ..LjOK,<.XCREF ..LOK>j(
	  IFDEF ..LOC,jH<.XCREF ..LOC>
	jh  IFDEF ..OLD,<.XkCREF ..OLD>
	  Ik(FDEF ...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NtL@P @]OH P ]OL`P'@]O< Q @_69: ci!%%%CTR==%%T%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? yXM<^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.,@ /	
	JRST [MEAOVX T1,A
IFB </IB>,<RET>
IFNB <oIB>,<
   IFIDN <-iB><CPOPJ>,<RET>
:Y   IFDIF <B><CPO@PJ>,<JRST B>
   >
		]
B>
  g@P 	g$]Z -I
Q
	SAVEAC Sq<T1,T2,T3,T4,T5,T]Q6,P1,P2>
IFN FTTa1RACE,<
	XMOVEI TaQ1,.		
IFNB <C>,.H<XMOVEI T2,[ASCIZ.i /C/]>
IFB <C>[p,<SETZ T2,>
	MOV\X T3,EVTB
	CALLIp EVTTRC		
>
	MOJVX 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 Q
	$CBACC=q=<Z 46>		
	A (<B>,46C,D) (<z Y/
	$CBACT=y=<Z 65>		
	A (<B>,65C,D) (<8z I6
	$CBCCT=i=<Z 65>		
	A (<B>,65C,D) (<:9 }ap
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