Google
 

Trailing-Edge - PDP-10 Archives - decuslib20-06 - decus/20-153/macten.unv
There are 93 other files named macten.unv in the archive. Click here to see a list.
x
,O@P C' |pgOP%%IA	(A,B,ADD,SUB)(AC2L{G \e<^D35-<^L<\0RGHBT.(A)>>+<^D3\P7*<<^L<RGHBT.(A)>>/^D36>>>.(A)C:' 50#+TXZ	A,-1-<B>TXZ	A,-1-ES| ]k
	REPEAT	]03,<
	TXCE	A,1B<B>!1B<C>
>B<G@ vP5OP%%CA (A,B,)OP%%CA (AGD zQOP%%CA (A,B,A)P%%CA (AGDP xAOP%%CA (A,B,E)P%%CA (AGDp xPEOP%%CA (A,B,G)P%%CA (AGDy  yIOP%%CA (A,B,GE)%%CA (AGE@ w9OP%%CA (A,B,L)P%%CA (AGEI  wP=OP%%CA (A,B,LE)%%CA (AGE` yPMOP%%CA (A,B,N)P%%CA (AG&tkg ^0w
	DEFINE	^PINFO.(OPCODE,NEWA^pRG)<
	OPCODE	NEWARG>	OPCODE	NEWG>vC@ SP%LALL

		Sp	   PAGE	;(CONTINTUED ON NEXT PAGE)T0
			   SALL	;(COTPNTINUED FROM PREVIOUS PAGE)
REVI6= dP=
	..OLD==dp10
	..TYP==3
IFeE <C>+1,..TYP==0e0
IFE <C>-^O7777eP77,..TYP==1
IFE ep<C>-^O777777B17,f..TYP==2
..POS==f0POS(<C>)
..WID=fP=WID(<C>)
	RADIfpX	10
	DF%%ST (\.g.TYP,A,<B>,\..Pg0OS,\..WID)
	PURGgPE	..OLD,..TYP,..POS,..WIDTYP,..PI(\z hU

	RADIX	.h0.OLD
DEFINE	B (hPOPS,AC,E),<
	..Chp==0
	IRP OPS,<
i		IFE A-..C,<
	i0		STOPI
			IFN 3iP-..C, OPS <AC>,Cip'E
			IFE 3-..C,j OPS <AC>,[POINT j0E,C'E,D]
		>
	..C==..C+1>
	PURGE	..C>

	PI'7 ~pwOP%%IN	(A,B,DIV)%IN	(AKc  Q
	IRP	A,Q0<
	IF2,<	IFNDEF	QPA,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
IFE	<<<B>-^pPD18>-^O777777>,<
	TEST%%=1
	.CREqF
	HRROI	A,<B>q0
	.XCREF
>
IFEqP	TEST%%,<
IFE	<<qp<B>_^D18>-^O7777r77B17>,<
	TEST%%r0=1
	.CREF
	HRLOrPI	A,(<B>-^O7777rp77)
	.XCREF
>
sIFE	TEST%%,<
	.Cs0REF
	MOVE	A,[BsP]
>>>
	PURGE	TEST%%
	.CREF	TE[Vg }poOP%%IN	(A,B,MUL)%IN	(A] Nq
	IFNDEF	A,<A==B>
F	]` O0}
	IFNDEF	OPA,<A==B>
	SHOW.	(A)

	SHO_@(Xp zPc
	.XCREF
IFE	<<B>_-^D18>{,<
	.CREF
	CAI{0C	A,<B>
	.XCRE{PF
>
IFN	<<B>_-{p^D18>,<
	.CREF
|	CAMC	A,[B]
	|0.XCREF
>
	.CREFCREF
>
	.CREF_@(YP  A
	.XCREF
IFE	<<<B>_^D18>P-^O777777B17>,<
p	.CREF
	DI	A,(-<B>)
	.XCREF
0>
IFN	<<<B>_^D1P8>-^O777777B17>,<p
	OP%%FP	A,<B>,C
>
	.CREF
C
>
	.CREF
_@(YX P Q
	.XCREF
IFE	<<B>_^D18>,	<
	.CREF
	CI		0A,(B)
	.XCREF
	P>
IFN	<<B>_^D18	p>,<
	.CREF
	C	
A,[B]
	.XCREF
>
	.CREFCREFp 
	.XCREF
IFE	<<<B>_-^D180>-^O777777>,<
	.PCREF
	DI	A,-<pB>
	.XCREF
>
IFN	<<<B>_-^D18>-0^O777777>,<
	OP%P%IN	A,<B>,C
>
	.CREF>,C
>_@(Z7  
	.XCREF
IFE	<<B>_-^D18>P,<
	.CREF
	CI	pA,<B>
	.XCREF
>
IFN	<<B>_-^D018>,<
	.CREF
	PC	A,[B]
	.XCREF
>
	.CREFCRE_@(] 00##

	.XCREF
IFN <<A>&^O77770p77777760>, PRINTX1 ? A IS NOT AN A10CCUMULATOR

	TE1PMP%%=0
IFE	<<B>1p_^D18>,<
IFN	<B2>,<
	TEMP%%=1
	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>
>C>-1>&<ibu` 0!?
	.XCREF
IFB  <B>,	OP%%TpX	<^O37777777&A>,1B<A_-^D30>,TLN0N,TRNN,TDNN
IFNBP <B>,	OP%%TX	A,p<B>,TLNN,TRNN,TDNN
	.CREF
,TDibx p!
	.XCREF
IFB <B>, TXO	(<0^O37777777&A>,1BP<A_-^D30>)
IFNBp <B>,<
IFN <<A>&^O777777777760>0, PRINTX ? A IS PNOT AN ACCUMULATOpR
IFE	<<<B>_-^D18>-^O777777>,<
0	.CREF
	ORCMI	AP,<,,-1-<B>>
	.XpCREF>
IFN	<<<B>_-^D18>-^O777777>0,<
	OP%%TX	A,<PB>,TLO,TRO,TDO
>>	.CREFO,TDO
>ib| $0"/
	.XCREF
IFB  <B>,	OP%%T$pX	<^O37777777&A>%,1B<A_-^D30>,TLO%0A,TROA,TDOA
IFNB%P <B>,	OP%%TX	A,%p<B>,TLOA,TROA,TDOA
	.CREF
,TDib|P  0"
	.XCREF
IFB  <B>,	OP%%T pX	<^O37777777&A>!,1B<A_-^D30>,TLO!0E,TROE,TDOE
IFNB!P <B>,	OP%%TX	A,!p<B>,TLOE,TROE,TDOE
	.CREF
,TDib}` "0"
	.XCREF
IFB  <B>,	OP%%T"pX	<^O37777777&A>#,1B<A_-^D30>,TLO#0N,TRON,TDON
IFNB#P <B>,	OP%%TX	A,#p<B>,TLON,TRON,TDON
	.CREF
,TDicP P {
	.XCREF
IFB <B>, TXZ	(<
^O37777777&A>,1B
0<A_-^D30>)
IFNB
P <B>,<
IFN <<A
p>&^O777777777760>
IFE	<<<B>7-^D<
	.CREF
	ANDI	A,0<,,-1-<B>>
	.XCPREF>
IFN	<<<B>_p-^D18>-^O777777>,<
	OP%%TX	A,<B0>,TLZ,TRZ,TDZ
>>	.CREFZ,TDZ
>>icT 0!
	.XCREF
IFB  <B>,	OP%%TpX	<^O37777777&A>,1B<A_-^D30>,TLZ0A,TRZA,TDZA
IFNBP <B>,	OP%%TX	A,p<B>,TLZA,TRZA,TDZA
	.CREF
,TDicTP 0!_
	.XCREF
IFB  <B>,	OP%%TpX	<^O37777777&A>,1B<A_-^D30>,TLZ0E,TRZE,TDZE
IFNBP <B>,	OP%%TX	A,p<B>,TLZE,TRZE,TDZE
	.CREF
,TDicU` 0!o
	.XCREF
IFB  <B>,	OP%%TpX	<^O37777777&A>,1B<A_-^D30>,TLZ0N,TRZN,TDZN
IFNBP <B>,	OP%%TX	A,p<B>,TLZN,TRZN,TDZN
	.CREF
,TDif` ;0#a
	MOVX	A;P,1B<B_-^D30>
	.;pXCREF
	<XORM	A,<>!<37777777&B>
	.CREF
7&B>
iftS@ 60#9
	MOVX	A6P,1B<B_-^D30>
	.6pXCREF
	<TDNE	A,7>!<37777777&B>
	.CREF
7&B>
ifuc@ 7P#C
	MOVX	A7p,1B<B_-^D30>
	.8XCREF
	<TDNN	A,80>!<37777777&B>
	.CREF
7&B>
ify` 8p#M
	MOVX	A9,1B<B_-^D30>
	.90XCREF
	<IORM	A,9P>!<37777777&B>
	.CREF
7&B>
igQ` :#W
	MOVX	A:0,1B<B_-^D30>
	.:PXCREF
	<ANDCAM	:pA,>!<37777777&B>
	.CREF
7&B>mHtYP'mHuZ7Q xmHvi9Q |mHvzQ pmKc@ MkBYTE (3)AM0WHO (9)AVER (6)AMIN (18)AEDTo&  Wp?<^L<-<<A>_<^L<A>>>-1>>>q? 5p#/TXC	A,<B>TXC	A,<Bq@ P
	INTERN	P0A
	IFB  <C>,<PPA==B>
	IFNB <C>,<A=B>
 <Cus@ lPk B (<SETZlpM,HLLZS,HRRZS,<PRmINTX ?CAN'T ZERO m0BYTE>>,<A>,<C>)TE>>,<A>,<C>)
lzQ 
D	P ?DP >D)6P D8YP D8sP D;PP D;QP D;QP D;RP D;RP D;SP D;TP D;WP D;WP D;XP D;XP D;YP 	D;YP 	D;ZP 
D;ZP 
D;[P D;[P D;\P 
D;\P 
D;]P D<ZP D=7P DI6P ?D\qP S@P &tj7Q ?6MiTQ @O,pP O,tP O,vP O,P j.+jP >}{woP