/ 
/ 
/                   FIRST PRINTING, FEBRUARY 1974
/ 
/ THE INFORMATION IN THIS DOCUMENT IS SUBJECT TO 
/ CHANGE WITHOUT NOTICE AND SHOULD NOT BE CONSTRUED
/ AS A COMMITMENT BY DIGITAL EQUIPMENT CORPORATION.
/ DIGITAL EQUIPMENT CORPORATION ASSUMES NO RESPON-
/ SIBILITY FOR ANY ERRORS THAT MAY APPEAR IN THIS
/ DOCUMENT.
/ 
/ THE SOFTWARE DESCRIBED IN THIS DOCUMENT IS FUR-
/ NISHED TO THE PURCHASER UNDER A LICENSE FOR USE ON
/ A SINGLE COMPUTER SYSTEM AND CAN BE COPIED (WITH
/ INCLUSION OF DIGITAL'S COPYRIGHT NOTICE) ONLY FOR 
/ USE IN SUCH SYSTEM, EXCEPT AS MAY OTHERWISE BE PRO-
/ VIDED IN WRITING BY DIGITAL.
/ 
/ DIGITAL EQUIPMENT CORPORATION ASSUMES NO RESPONSIBILITY
/ FOR THE USE OR RELIABILITY OF ITS SOFTWARE ON EQUIP-
/ MENT THAT IS NOT SUPPLIED BY DIGITAL.
/ 
/ COPYRIGHT (C) 1974, BY DIGITAL EQUIPMENT CORPORATION
/ 
/ 
        .EJECT
/
/	EDIT #2
/
/COPYRIGHT 1972, 1973, DIGITAL EQUIPMENT CORP., MAYNARD, MASS.
/
/			1/20/72
/			19 JUNE 73	T. MURRAY
/
/	RDCOMP - FORTRAN CALLABLE SUBROUTINE TO DO A MAGTAPE
/		READ COMPARE
/
/	CALLING SEQUENCE -- CALL RDCOMP (LUN,IBUFF,NW,CTB [,IEV]
/
/		LUN=LOGICAL UNIT NUMBER
/		IBUF= ARRAY NAME
/		NW=NUMBER OF WORDS IN THE ARRAY
/		CTB = THREE WORD INTEGER ARRAY TO BE USED AS CONTROL
/			TABLE
/		IEV=EVENT VARIABLE
/
/
	.GLOBL	RDCOMP,.DA
RDCOMP	0
	JMS*	.DA	/PICK UP ARGUMENTS
	JMP	IEV+1
LUN	0
IBUF	0
NW	0
CTB	0
IEV	0
	LAC	IEV	/PICK UP EVENT VARIABLE ADDRESS
	DZM	IEV	/MAKE IT OPTIONAL
	DAC	EV
	LAC*	LUN
	DAC	ILUN
	LAC	CTB	/GET CONTROL TABLE ADDRESS
	DAC	CTA	/PUT IT INTO CPB
	PAX		/AND SET UP X-REG AS A BASE REG
	LAC	IBUF
	DAC	0,X
	LAC*	NW
	DAC	1,X	/SET UP WORD COUNT
	CAL	EXCMD	/GO EXECUTE COMMAND
	JMP*	RDCOMP	/RETURN
EXCMD	4000
EV	0
ILUN	0
CTA	0
/	.DSECT	CONTROL TABLE
/BUFF	0
/WORDC	0
/STAT	0
	.END
