	.TITLE	JDFIX (JDINT) D.P. TO J CONVERSION
/ 
/ 
/                   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
/COPYRIGHT 1971, DIGITAL EQUIPMENT CORP., MAYNARD, MASS.
/FOR HARDWARE FLOATING POINT PROCESSOR (FPP), DEFINE 90 FPP,
/EDIT #001 6-17-71
	.GLOBL	JDFIX, JDINT, .DA,
	.IFUND %FPP
	.GLOBL .AO, .JX
	.ENDC
	.IFUND %FPP
	.DEFIN URFXA%,A
	JMS* A			/FIX FPP AC TO EXTENDED INTEGER (.JX)
	.ENDM
	.ENDC
	.IFDEF %FPP
URFXA=714670
	.DEFIN URFXA%
	URFXA
	0
	.ENDM
	.ENDC
	.IFUND %FPP
	.DEFIN DLD%,A
	JMS* A			/DOUBLE LOAD (.AO)
	.ENDM
	.ENDC
	.IFDEF %FPP
DLD=713150
	.DEFIN DLD%
	DLD
	.ENDM
	.ENDC
/CALLING SEQUENCE--
/	JMS*	JDFIX (JDINT)
/	JMP	.+2
/	.DSA	ARG. ADDR.	/BIT #0=1 IF INDIRECT
JDINT=.
JDFIX	0
	JMS*	.DA
	JMP	JDFX02
JDFX01	0
JDFX02	DLD%	.AO		/LD. D.P. REAL INTO FPAC
	.DSA	JDFX01+400000	/ARG.
	URFXA%	.JX		/FPAC TO AC,MQ
	JMP*	JDFIX
	.END
