Google
 

Trailing-Edge - PDP-10 Archives - BB-H580E-SB_1985 - comuni.unv
There are 15 other files named comuni.unv in the archive. Click here to see a list.
x
,5%@P C;uP E'P E2\I@ 
5@S/
]
	IFNB	<
5pA>,<A::>
	BLOCK	B
:>
	BLOCKUjS(1E2\I[ 
6PS@
](
	IFNB	<
7A>,<A::>
	IFN	
7 B,<IFB	<C>,<BLOC
7@K	B>
		    IFNB
7`	<C>,<REPEAT	B,
8<
					C>>
		>
				C>>
		>UkS11G3YQ @G3[Q G>l: 
S@U0
	IFG	A-
S`COMSIZ,<
	XXX.==
TA-COMSIZ
  DEFI
T NE PEXCS(OVRFLO),
T@<
	PRINTX	?COMSI
T`Z EXCEEDED BY 'OV
URFLO (OCTAL) WORD
U S - REGENERATE TH
U@E COMPILER
   >
U`
	PEXCS(\XXX.)
>
V;END IFG A-COMSIZ
IFG A-COMSIG>n:=P pI
n0P I4.: 	x P

IFNDEF	x@ .BITST,<	.BITST=	x`=0>	;START AT 0
	y
IF1,<			;ALL TH	y IS STUFF HAPPENS 	y@ONLY IN PASS 1
	y`
;ERROR CHECKS
I	zFDEF YA,<	PRINTX	z  ?A ALREADY DEFI	z@NED WITH DEFBYT
	z`	>

IFG <.BITST	{+B-^D36>,< PRINT	{ X ?DEFBYT: A DOE	{@S NOT FIT IN WORD	{`>
; END OF ERROR	| CHECKS

;DEFIN	| E YA TO BE THE W	|@ORD C
	YA==C

	DFENDP==B+.B	}ITST-1	;END POSIT	} ION

;COMPUTE F	}@LAGS
	DFBF==DFB.	}`BT		;ASSUME BYTE 	~INSTRUCTION NEEDE	~ D
IFE B-^D36,<
	DFBF==DFB.FW> ;	~`FULL WORD
IFE B	-^D18,<
	IFE DFE	 NDP-^D17,<
	DFBF	@==DFB.LH>		;LEFT 	`HALF-WORD INSTRUC
TION NEEDED
	IFE
  DFENDP-^D35,<
	
@DFBF==DFB.RH>		;R
`IGHT HALF-WORD IN
STRUCTION NEEDED
 
	>

	XA==<DFB
@F>B21+B,,DFENDP
`

	.BITST==B+.B
ITST

IFE <.BIT
 ST-^D36>,<.BITST=
@=0>	;.BITST IS NE
`W STARTING POSITION
>;END IF1
IhZP Ii[P IkP IlTP I' 
E T:
	ADR==HI
[email protected]	
	DEFINE	DI
E`SEL%	(N%)	<
	N%=
F:ADR		
	ADR==ADR
F +1
	>
	DEFINE	D
F@STBL%	(NAM,IR)	<D
F`ISEL%	(NAM)>

	
GDISTB%				

	PU
G RGE	DISEL%,DSTBL%,ADR
L%,DSTBL%I'HB 	: O>

	DISEL	:@%	C.RSET
	DISEL%	:`	STOPR.
	DISEL%		;C.STOP
	DISEL%	K	; ILL.
	DISEL%	GOT	;@O.
	DISEL%	TODAY	;`.
	DISEL%	KDECL.	<
	DISEL%	KPROG.
	DISEL%	DSP.FP
	<@	DISEL%	LINE.C
		<`DISEL%	LINE.D
	D	=ISEL%	LINE.H
	DI	= SEL%	LIN.RH
	DIS	=@EL%	CANCL.
IFN A	=`NS74,<
	DISEL%	S	>.CALL
>
	DISEL%	> 	M.INIT
	DISEL%		>@M.RMW
	DISEL%	M.	>`RSW
	DISEL%	M.RM	?NW
	DISEL%	M.RSN	? W
	DISEL%	M.SEND	?@
	DISEL%	M.AC
		?`DISEL%	M.IFM
	DI	@SEL%	M.DI
	DISEL	@ %	M.DIT
	DISEL%		@@M.DO
	DISEL%	M.E	@`I
	DISEL%	M.EIT
	DISEL%	M.EO
	D	A ISEL%	STR.
	DISE	A@L%	STR.O
	DISEL%	A`	UNS.
	DISEL%	UN	BS.O
	DISEL%	FUNC	B T.
	DISEL%	FIX.
	DISEL%	PERF.
		B`DISEL%	FLOT.1
	D	CISEL%	FLOT.2
	DI	C SEL%	PD6.
	DISEL	C@%	PD7.
	DISEL%	G	C`D6.
	DISEL%	GD7.	D
	DISEL%	NEG.
		D DISEL%	MAG.
	DIS	D@EL%	ADD.12
	DISE	D`L%	ADD.21
	DISEL	E%	ADD.22
	DISEL%	E 	SUB.12
	DISEL%		[email protected]
	DISEL%	S	E`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L%	U	PUTF.
	DISEL%	R	U ESF.
	DISEL%	GET	U@NM.
	DISEL%	ILLC	U`.
	DISEL%	C.D6D9	V
	DISEL%	C.D7D9
	DISEL%	C.D9D6
	V@	DISEL%	C.D9D7
		V`DISEL%	PC3.
	DIS	WEL%	PD9.
	DISEL%	W 	GC3.
	DISEL%	GD	W@9.
	DISEL%	POS.9	W`
	DISEL%	NEG.9
	X	DISEL%	ZERO.9
		X DISEL%	ALF.9
	DI	X@SEL%	NUM.9
	DISE	X`L%	ALF.9
	DISEL%	Y	SPAC.9
	DISEL%		Y CMP.96
	DISEL%	C	[email protected]
	DISEL%	ED	Y`IT.B
	DISEL%	RST	ZAB.
	DISEL%	ZERC	Z .6
	DISEL%	ZERC.	Z@7
	DISEL%	ZERC.9	Z`
IFN ANS74,<
	D	[ISEL%	C.STRT
	DI	[ SEL%	DATE.
	DISE	[@L%	DAY.
	DISEL%		[`TIME.
>

	DSTB	\L%	USRTB.,15

	\ 

	DISEL%	DSPL.6	\@
	DISEL%	DSPL.7

	DISEL%	SUBE1.	]
	DISEL%	SUBE2.
	DISEL%	SUBE3.
	]@	DISEL%	EXIT.E
I	]`FN BIS,<
	DISEL%	^	XTND.E
	DISEL%		^ ALP.66
	DISEL%	A	^@LP.67
	DISEL%	AL	^`P.69
	DISEL%	ALP	_.76
	DISEL%	ALP.	_ 77
	DISEL%	ALP.7	_@9
	DISEL%	ALP.96	_`
	DISEL%	ALP.97
	DISEL%	ALP.99
	` 	DISEL%	ALPS.6
		`@DISEL%	ALPS.7
	D	``ISEL%	ALPS.9
	DI	aSEL%	NUM.66
	DIS	a EL%	NUM.67
	DISE	a@L%	NUM.69
	DISEL	a`%	NUM.76
	DISEL%	b	NUM.77
	DISEL%		b NUM.79
	DISEL%	N	[email protected]
	DISEL%	NU	b`M.97
	DISEL%	NUM	c.99
	DISEL%	CVTD	c B.
	DISEL%	CBDOV	c@.
	DISEL%	CVBD.6	c`
	DISEL%	CVBD.7
	DISEL%	CVBD.9
	d 	DISEL%	MUL.41
		d@DISEL%	MUL.42
	D	d`ISEL%	DIV.41
	DI	eSEL%	DIV.42
	DIS	e EL%	DVI41.
	DISE	e@L%	DVI42.
>;END 	e`IFN BIS
	DISEL%		fKEY.
IFN TOPS20,	f <
	DISEL%	PSORT.	f@
	DISEL%	PMERG.
	DISEL%	RELES.
	g	DISEL%	MERGE.
		g DISEL%	MCLOS.
	D	g@ISEL%	RETRN.
	DI	g`SEL%	ENDS.
>

	h
IFN BIS,<
	DIS	h EL%	ADD.4R
>;END	h@ IFN BIS
IFN TCS	h`,<
	DISEL%	MBIND	i
	DISEL%	MNAME
	i >
	DISEL%	MVD.AL	i@
	DISEL%	NUM.3
	i`	DISEL%	WADVV.
		jDISEL%	WRITV.

	j 
	DISEL%	METER.
IFN BIS,<			;[55	j`4] QUAD-WORD SIZE	k ERROR ROUTINES
	k 	DISEL%	SIZE.4
		k@DISEL%	SIZE.5
>;	k`END IFN BIS			;[5	l54]
	DISEL%	FLT.	l 12
	DISEL%	FLT.2	l@2
	DISEL%	FIX.2
	DISEL%	E.F2D1
	m	DISEL%	E.F2D2
		m DISEL%	E.F2FP
	D	m@ISEL%	E.F2F2
	DI	m`SEL%	PPOT4.
	DIS	nEL%	ISBPS.
	DISE	n L%	MROUT.
				;[	n@621] (MUST BE PRE	n`SENT IN ALL FLAVO	oRS OF LIBOL)
;V1	o 2B RMS ENTRY POIN	o@TS
IFN ANS74,<
	o`	DISEL%	OP.MIX
		pDISEL%	CL.MIX
	D	p ISEL%	WT.MIR
	DI	p@SEL%	WT.MIS
	DIS	p`EL%	RD.MIR
	DISE	qL%	RD.MIS
	DISEL	q %	DL.MIR
	DISEL%	q@	DL.MIS
	DISEL%		q`RW.MIR
	DISEL%	R	rW.MIS
	DISEL%	ST	r .MEQ
	DISEL%	ST.	r@MGT
	DISEL%	ST.M	r`NL
>;END IFN ANS	s74

	DISEL%	%ST	s R.
	DISEL%	%STR.	s@O
	DISEL%	%UNS.
	DISEL%	%UNS.O
	tIFN ANS74,<
	DIS	t EL%	SWT.ON
	DISE	t@L%	SWT.OF
	DISEL	t`%	CMP.67
	DISEL%	u	CMP.69
	DISEL%		u CMP.79
	DISEL%	C	[email protected]
	DISEL%	CO	u`MP.7
	DISEL%	COM	vP.9
	DISEL%	SU.S	v 69
	DISEL%	SU.S7	v@9
	DISEL%	SU.S97	v`
>
IFN ANS74,<
IFN BIS,<
	DISE	w L%	CVDBT.
	DISEL	w@%	CVDBL.
>;END I	w`FN BIS
>;END IFN ANS74

D IFNK:$IH 

 PX
PRINTX %

@ ENDDFB: THERE AR

`E A BITS STILL U
NASSIGNED BY "DEFBYT"
D BY "DEFK:$IQ 
PN
IF1,<
I
 FN .BITST,<
	.BI
@TLFT==^D36-.BITST
`	;COMPUTE # OF FR
EE BITS
	RADIX 1
 0		;MAKE IT COME 
@OUT IN DECIMAL.

`	ENDDF1 (\.BITLFT
	)	;CALL MACRO TO 
	 PRINT NUMBER
	RA
	@DIX 8			;BACK TO 
	`OCTAL
>
>;END IF1

>
>;END IM&t.: 
`P4
IF1,<
	
.BITST==0	; Reset
  bit position to 
@0
>; END if1	

>; END if1	
M'Ek0P	M'Em6P 	Q$u|SP$Q$v
BT&
	
	DEFI
B NE	SYMH%%	(N%,V)	
B@<N%==:0>	
	DEFIN
B`E	SYML%%	(N%,V)	<
CSYM%%	N%,V>	
	DE
C FINE	ELMT%%	(N%,L
C@<1>,V)	<BLKDFV	N%
C`,L,<V>>	

	RELO
DC	0
	CHK==.

	
D %LOSEG

	COMCHK
D@	.-CHK		

	PURG
D`E	SYML%%,SYMH%%,ELMT%%
SYMH%%,ES:4*b 0B
	ELMT%%	PFILES.
	ELMT%%	UpSES.
	ELMT%%	SEGWD.
	ELMT%%	ALTE0R.
	ELMT%%	OVRFNP.
	ELMT%%	POINT.p
	ELMT%%	COMMA.
	ELMT%%	MONEY.
 0	ELMT%%	MEMRY.
	 PELMT%%	%NM.
	ELM pT%%	%DT.
	ELMT%%!	%PR.
	ELMT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%]`	RUN.TM,1

	ELM^T%%	CB.DDT,1
	EL^ MT%%	SBPSA.,1
	E^@LMT%%	%F.PTR,1
^`
	ELMT%%	INTBLK,4_


	ELMT%%	FS._ ZRO,1
	ELMT%%	FS[email protected],1
	ELMT%%	FS_`.EN,1
	ELMT%%	FS`.BN,1
	ELMT%%	FS` .RN,1
	ELMT%%	FS`@.UPD,1
	ELMT%%	F``S.IGE,1
	ELMT%%	aFS.IF,1
	ELMT%%	a FS.IEC,1



Ia@FE TOPS20,<
	ELMa`T%%	PTH.BK,.PTMAXb
>


	ELMT%%	b FOP.BK,1
	ELMT%%b@	FOP.IS,1
	ELMT%b`%	FOP.DN,1
	ELMTc%%	FOP.BH,1
	ELMc T%%	FOP.BN,1
	ELc@MT%%	FOP.LB,1
	Ec`LMT%%	FOP.PP,1
d

	ELMT%%	CP.BLKd ,1
	ELMT%%	CP.BKd@1,1
	ELMT%%	CP.Bd`K2,1
	ELMT%%	CP.eBK3,1
	ELMT%%	CPe .BK4,1
	ELMT%%	C[email protected],1
	ELMT%%	e`CP.BK6,1
	ELMT%%f	CP.BK7,1
IFN TOf PS20,<				; [1066f@]
	ELMT%%	GJ.BLKf`,17
	ELMT%%	GJ.AgTR,4
>					; [10g 66]

	; MAKE TM[email protected] AT LEAST AS g`BIG AS .TPLEN ON hTOPS10

IFN TOPh S20,<	ELMT%%	TMP.h@BK,15>
IFE TOPS2h`0,<	
 IFNDEF .TPiLEN,<ELMT%%	TMP.Bi K,15>
 IFDEF .TPi@LEN,<
  IFL <15-i`.TPLEN>,< ELMT%%	jTMP.BK,.TPLEN>
 j  IFGE <15-.TPLEN>j@,< ELMT%%	TMP.BK,j`15>
 >
>

	ELkMT%%	FID.BK,15
k 
	ELMT%%	NRSAV.,5k@

	ELMT%%	AUTOLk`B,1
	ELMT%%	DELSlIZ,1
	ELMT%%	LNKl NO.,1
	ELMT%%	REl@LEN.,1



	ELl`MT%%	SRC.MD,1
	EmLMT%%	DLM.MD,1
	m ELMT%%	DST.MD,1
m@	ELMT%%	NX.SSA,1	m`;ADDRESS OF NEXT nSOURCE SERIES ITEn M
	ELMT%%	CV.DLMn@,1	;INSTRUCTION Tn`O CONVERT DELIMIToER
	ELMT%%	SSACBo .,16	; SAVED AC'So@ WHEN CALLING A To`AG
	ELMT%%	TAG.PpT,1	;ADDR OF ROUTp INE TO STORE POINp@TER VALUE
	ELMT%p`%	TAG.DL,1	;ADDR qOF ROUTINE TO GETq  NUMERIC DELIMITEq@R
	ELMT%%	TAG.SRq`,1	;ADDR OF ROUTIrNE TO GET NUMERICr  SOURCE
	ELMT%%	[email protected],1	;SOURCE-r`SERIES ITEM COUNTsER
	ELMT%%	DLM.Ts P,1	;ADDR OF %TEMs@P OR %LIT FOR DELs`IMITER
	ELMT%%	StRC.TP,1	;ADDR OF t %TEMP OR %LIT FORt@ SOURCE
	ELMT%%	t`NX.SRC,1	;ADDR OFu NEXT SOURCE ITEMu 
	ELMT%%	NUM.SR,u@1	;NUMBER OF SOURu`CES IN THIS SS
	vELMT%%	NUM.RC,1	;v NUMBER OF RECEIVIv@NG ITEMS FOR UNSTv`RING
	ELMT%%	CT.wDLM,1	;COUNT OF Dw ELIMITERS
	ELMT%w@%	SRD.BP,1	;HOLDSw` BP FOR SOURCE - xSTART OF 1ST MATCx H
	ELMT%%	SRD.CCx@,1	;HOLDS CC FOR x`SOURCE - START OFy 1ST MATCH
	ELMTy %%	SRA.BP,1	;HOLDy@S BP FOR SOURCE Ay`FTER LAST MATCH
z	ELMT%%	SRA.CC,1	z ;HOLDS CC FOR SOUz@RCE AFTER LAST MAz`TCH
	ELMT%%	CV.S{DS,1	;CONVERSION { FROM SOURCE TO DE{@ST
	ELMT%%	TAG.S{`T,1	;GET %TEMP SE|T UP FOR DEST.
	| ELMT%%	NX.DLM,1	;|@NEXT DELIMITER
	|`ELMT%%	NUM.DL,1	;}NUMBER OF DELIMIT} ERS
	ELMT%%	TAG.}@CT,1	;TAG TO STOR}`E COUNT ITEM
	EL~MT%%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P	,@S20,<
	ELMT%%	MR	,`CHLS,1
	ELMT%%	M	-RLLDR,1
	ELMT%%		- MRLLDV,1
	ELMT%%	-@	MRCFNM,1
	ELMT%	-`%	MRCFEX,1
   >;	.END IFE TOPS20
>	. ;END IFN FTLSDR
	.@	ELMT%%	MRAPN.,1
					;0 IF FILE 	/IS NEW
	ELMT%%	M	/ RFPGT,1,
	ELMT%%	/@	MRKILL,1
	ELMT%	/`%	MRBNUM,1
	ELMT	0%%	MRRERN,1
					0 	; (THUS CAN'T WR	0@ITE IN .MTO FILE)	0`
IFN TOPS20, ELM	1T%% MRPSTM,2
IFE	1  TOPS20, ELMT%% M	1@RPSTM,1

>

		1`ELMT%%	DBSTP.,1
	2
;THE FOLLOWING 	2 ARE USED FOR $ERR	2@OR PROCESSING
	E	2`LMT%%	ER.PC,1
	E	3LMT%%	ER.FLG,1
		3 ELMT%%	ER.MCL,1
	3@	ELMT%%	ER.HIJ,1
					; SOMETIMES	4 SET UP BEFORE TH	4 E $ERROR
					; 	4@CALL.
IFN TOPS20	4`,<
	ELMT%%	ER.JS	5E,1
	ELMT%%	MNTR	5 5,1
>
IFE TOPS2	5@0,<
	ELMT%%	ER.E	5`10,1
>
	ELMT%%		6ER.RBG,1

;** T	6 HE FOLLOWING LOCA	6@TIONS SHOULD BECO	6`ME "VISIBLE" IN V	7ERSION 13.
;   T	7 HEY ARE HERE TEMP	7@ORARILY FOR 12B S	7`O 12A IS COMPATIB	8LE.
	ELMT%%	SLRS	8 W.,1
	ELMT%%	RMF	8@LG.,1


IFN AN	8`S74,<
;USED BY R	9MSIO
	ELMT%%	CVP	9 RM.,2
	ELMT%%	CV	9@ARGS,2
	ELMT%%	R	9`MSVR.,1
>
	ELMT%%	INTRAP,1
MTY<v>
@ 
@Q*

;ERROR
` CHECKS
IF1,<
	
IFNDEF XB,<PRINT
 X ? B NOT DEFINE
@D WITH "DEFBYT">
`
>;END PASS 1 ERR
OR CHECKS

DFBF
 ==XB-^D32		;GET
@ FLAG WORDS
IFE 
`DFBF-DFB.FW,<		;G
EN FULL WORD INST
 RUCTION
	MOVE	A
@,YB+C
	>
IFE 
`DFBF-DFB.RH,<		;G
EN RIGHT HALF WOR
 D INSTRUCTION
	H
@RRZ	A,YB+C
	>
`
IFE DFBF-DFB.LH
,<		;GEN LEFT HAL
 F WORD INSTRUCTIO
@N
	HLRZ	A,YB+
`C
	>
IFE DFBF-D
FB.BT,<
..X==XB
 _^D18
..X==..X_-
@^D18			;GET RID O
`F LH, = ENDING BI
T POSITION 
..Y=
 =<XB_-^D18>&^O77
@		;GET LH, JUST #
` OF BITS
	..LIT=
=<YB+C>	;FIRST 
 PART OF LITERAL B
@EING BUILT
	..LI
`T==..LIT+<..Y_^D2
4> ;# OF BITS IN 
 BYTE PTR
	..LIT=
@=..LIT+<<^D36-..X
`-1>_^D30> ;FINAL 
BIT POSITION IN B
 YTE PTR
	LDB	A,[..LIT]
	>
A,Y?< 
G`U
	DEFINE	
HSYMH%%	(N%,V)	< >
H 
	DEFINE	SYML%%	
H@(N%,V)	<SYM%%	N%,
H`V>	
	DEFINE	ELMT
I%%	(N%,L<1>,V)	<B
I LKDFV	N%,L,<V>>

I@	LOC	LO.PUR			

I`
	VISBL%

	DEFI
JNE	ELMT%%	(N%,L<1
J >,V) <BLOCK L>

J@
	INFBK%


	DE
J`FINE	ELMT%%	(N%,L
K<1>,V) <
	IFIDN 
K <N%><E0.6>,<N%::	
[email protected]=:E0.6+1>

K`	IFIDN <N%><E0.7>
L,<N%::	E0.7.1=:E0
L .7+1>
	IFIDN <N%
L@><E0.9>,<N%::	E0.
L`9.1=:E0.9+1>
	IF
MIDN <N%><OU.TMP>,
M <N%::>
	IFIDN <N
M@%><DST.BP>,<N%::>
M`
	IFIDN <N%><DST
N.CC>,<N%::>
	IFI
N DN <N%><PT.VAL>,<
N@N%::>
	IFIDN <N%
N`><SRC.BP>,<N%::>
O
	IFIDN <N%><SRC.
O CC>,<N%::>
	IFID
O@N <N%><SR.TMP>,<N
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,1,<0>
	ELMT/ %%	,1,<0>
	ELMT%/@%	,1,<133>
	ELMT/`%%	,1,<153>
	ELM0T%%	,1,<113>
	EL0 MT%%	,1,<100>
	E0@LMT%%	,1,<360>
	0`ELMT%%	,1,<116>
1	ELMT%%	,1,<140>
	ELMT%%	,1,<303>1@
	ELMT%%	,1,<3311`>
	ELMT%%	,1,<3024>
	ELMT%%	,1,<32 02>
IFN ANS74,<
	ELMT%%	,1,<141>2`
>
>



	EL3MT%%	OU.TMP,5		;F3 OR STRING
	ELMT%3@%	DST.BP,1		;DEST3`INATION BYTE POIN4TER
	ELMT%%	DST.4 CC,1		;DESTINATIO4@N CHAR COUNT
	EL4`MT%%	PT.VAL,1		;'5POINTER' VALUE
	5 ELMT%%	SRC.BP,1		5@;SOURCE BYTE PTR
	ELMT%%	SRC.CC,16		;CC OF SOURCE
6 	ELMT%%	SR.TMP,5	6@	;TEMP HOLD FOR N6`UMERIC SOURCE
	E7LMT%%	DLM.BP,1		;7 BYTE PTR TO DELIM7@ITER
	ELMT%%	DLM7`.CC,1		;CC OF DEL8IMITER
	ELMT%%	T8 MP.DL,5		;TEMP HO8@LD FOR NUMERIC DE8`LIMITER
	ELMT%%	9TL.VAL,1		;TALLY 9 VALUE
	ELMT%%	CT[email protected],1		;COUNT VA9`LUE

	SYML%%	FR:STIC,.
	ELMT%%	I: IN,1,<IN 0,CMDLST:@	>
	ELMT%%	IOUT,:`1,<OUT 0,CMDLST	>;
	ELMT%%	ISETI,1; ,<USETI 0,(AC1)	>;@
	ELMT%%	ISETO,1;`,<USETO 0,(AC1)	><
	ELMT%%	ICLOS,1< ,<CLOSE 0,0	>
	E<@LMT%%	IRELE,1,<RE<`LEAS 0,0	>
	ELMT=%%	IGETS,1,<GETST= S 0,AC2	>
	ELMT%=@%	ISETS,1,<SETSTS=` 0(AC2)>
	ELMT%%>	IWAIT,1,<CALLI 0> ,10	>
	ELMT%%	IR>@NAM,1,<RENAME 0,U>`EBLK.	>
	SYML%%	?LASTI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ONLY HAPPENS 
`ON PASS 1
;ERROR
 CHECKS
IFNDEF X
 B,<	PRINTX ? SAM
@BYT: B NOT PREVI
`OUSLY DEFINED WIT
H DEFBYT>

XA=
 =XB
YA==YB
>;END IF1
B
>gRX5Q @gRY8Q gRYzQ gR[VQ gR~)  
`RL

;ERROR
  CHECKS
IF1,<
	
  IFNDEF XB,<PRINT
 @X ? B NOT DEFINE
 `D WITH "DEFBYT">
!
>;END PASS 1 ERR
! OR CHECKS

DFBF
!@==XB_-^D32		;GET
!` FLAG WORDS
IFE 
"DFBF-DFB.FW,<		;G
" EN FULL WORD INST
"@RUCTION
	MOVEM	
"`A,YB+C
	>
IFE
# DFBF-DFB.RH,<		;
# GEN RIGHT HALF WO
#@RD INSTRUCTION
	
#`HRRM	A,YB+C
	
$>
IFE DFBF-DFB.L
$ H,<		;GEN LEFT HA
$@LF WORD INSTRUCTI
$`ON
	HRLM	A,YB+
%C
	>
IFE DFBF-
% DFB.BT,<
..X==X
%@B_^D18
..X==..X_
%`-^D18			;GET RID 
&OF LH, = ENDING B
& IT POSITION 
..Y
&@==<XB_-^D18>&^O7
&`7		;GET LH, JUST 
'# OF BITS
	..LIT
' ==<YB+C>	;FIRST
'@ PART OF LITERAL 
'`BEING BUILT
	..L
(IT==..LIT+<..Y_^D
( 24> ;# OF BITS IN
(@ BYTE PTR
	..LIT
(`==..LIT+<<^D36-..
)X-1>_^D30> ;FINAL
)  BIT POSITION IN 
)@BYTE PTR
	DPB	A,[..LIT]
	>
AgfhQ  SBA==:BiP i?4HP m'+ Ao

	ELMT%0%	MEMRY%,1
	ELMTP%%	TALLY.,1,<Z>
p	ELMT%%	SZERA.,1,<Z>
	ELMT%%	OVFL0O.,1,<Z>

	ELMTP%%	TRAC1.,1,<JRSTp	BTRAC.##>
	ELMT%%	TRAC2.,1,<JRST0	TRPOP.##>
	ELMTP%%	TRAC3.,1,<JRSTp	TRPD.##>

	ELMT%%	OPNCH.,1,<XWD0	777774,0>
	ELMTP%%	RN.DEV,1
	ELMpT%%	RN.PPN,1
	ELMT%%	RN.NAM,1
	E0LMT%%	FSLOC.,1,<ZP>
	ELMT%%	HLOVL.p,1,<Z>

	ELMT%%	%REMOV,1,<EXP	RE0MOV.##>
IFN ANS7P4,<
	ELMT%%	%ENTpOV,1,<EXP	ENTOV.##>
>

	ELMT%%	0KEYCV.,1,<Z>
	ELPMT%%	SAVEF.,1,<Z>p






	ELMT%%	HPRT.,1,<EXP0	HSRPT.##>
					P	; PRINTING ROUTIpNE.
	ELMT%%	SEGNO.,1,<Z>
	ELMT%%0	SNRBP.,1,<EXP	SBPPSG.##>


	ELMpT%%	TRAC4.,1,<EXP	CNTRC.##>
	ELMT0%%	CIOTF.,1,<EXP	PSFOV.##>



p


IFN DBMS,<				;[623]
	ELMT%%0	DBSTP%,1,<EXP	%DPBSTP##>

	SYML%p%	LEVEL.,<.-1>
	IFNDEF LEVEL.,<PR0INTX ?LEVEL. NOT PDEFINED!>
>					p;[623]
IFE DBMS,<				;[623]
	ELM0T%%	LEVEL.,1,<Z>
>					;[623]

p	ELMT%%	METR.,1,<Z>



.,1,<u2| 
`Qz

;ERROR
 CHECKS
IF1,<
	
 IFNDEF XB,<PRINT
@X ? B NOT DEFINE
`D WITH "DEFBYT">

>;END PASS 1 ERR
 OR CHECKS

DFBF
@==XB_-^D32		;GET
` FLAG WORDS
IFE 
DFBF-DFB.FW,<		;G
 EN FULL WORD INST
@RUCTION
	MOVE	A
`,C
	>
IFE DFBF
-DFB.RH,<		;GEN R
 IGHT HALF WORD IN
@STRUCTION
	HRRZ	
`A,C
	>
IFE DF
BF-DFB.LH,<		;GEN
  LEFT HALF WORD I
@NSTRUCTION
	HLRZ
`	A,C
	>
IFE D
FBF-DFB.BT,<
..X
 ==XB_^D18
..X==
@..X_-^D18			;GET 
`RID OF LH, = ENDI
NG BIT POSITION 
 
..Y==<XB_-^D18>
@&^O77		;GET LH, J
`UST # OF BITS
	.
.LIT==<C>		;FIRS
 T PART OF LITERAL
@ BEING BUILT
	..
`LIT==..LIT+<..Y_^
D24> ;# OF BITS I
 N BYTE PTR
	..LI
@T==..LIT+<<^D36-.
`.X-1>_^D30> ;FINA
L BIT POSITION IN
  BYTE PTR
	LDB	A,[..LIT]
	>
uO%|R 
*S

;ERROR
*  CHECKS
IF1,<
	
*@IFNDEF XB,<PRINT
*`X ? B NOT DEFINE
+D WITH "DEFBYT">
+ 
>;END PASS 1 ERR
+@OR CHECKS

DFBF
+`==XB_-^D32		;GET
, FLAG WORDS
IFE 
, DFBF-DFB.FW,<		;G
,@EN FULL WORD INST
,`RUCTION
	MOVEM	
-A,C
	>
IFE DFB
- F-DFB.RH,<		;GEN 
-@RIGHT HALF WORD I
-`NSTRUCTION
	HRRM
.	A,C
	>
IFE D
. FBF-DFB.LH,<		;GE
.@N LEFT HALF WORD 
.`INSTRUCTION
	HRL
/M	A,C
	>
IFE 
/ DFBF-DFB.BT,<
..
/@X==XB_^D18
..X=
/`=..X_-^D18			;GET
0 RID OF LH, = END
0 ING BIT POSITION 
0@
..Y==<XB_-^D18
0`>&^O77		;GET LH, 
1JUST # OF BITS
	
1 ..LIT==<C>		;FIR
1@ST PART OF LITERA
1`L BEING BUILT
	.
2.LIT==..LIT+<..Y_
2 ^D24> ;# OF BITS 
2@IN BYTE PTR
	..L
2`IT==..LIT+<<^D36-
3..X-1>_^D30> ;FIN
3 AL BIT POSITION I
3@N BYTE PTR
	DPB	
3`A,[..LIT]
	>
A,[..LIT]
	>

{:P 
$#@P 	
&C@P 
uS@P 
#@P fI9P |,{P |-YP }[0P MI9P 2~93 
4 S&
	VISBL%	
4@	
	INFBK%		
	PR
4`EST%	
	LIDAT%		
%	
	LIDAT%		6}i<P ?6)WP B}ZP C.:P N,}rP O,\:P O,hZP O.,ZP W\gP S@P >}{woP 
COPYRIGHT (C) 1985 BY DIGITAL EQUIPMENT CORPORATION, MAYNARD MASS.
ALL RIGHTS RESERVED.