	.TITLE	JSIGN	TRANSFER SIGN OF ARG2 TO ARG1
/ 
/ 
/                   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 #004  8-17-71
	.GLOBL	JSIGN, .DA,
	.IFUND %FPP
	.GLOBL .JG, .JA
	.ENDC
	.IFUND	%FPP
	.DEFIN	ELD%,A
	JMS*	A		/EXTENDED INTEGER LOAD (.JG)
	.ENDM
	.ENDC
	.IFDEF	%FPP
ELD=713100
	.DEFIN	ELD%
	ELD
	.ENDM
	.ENDC
	.IFDEF %FPP
FNG=713272	/MAKE FPPAC NEG.
FAB=713271	/MAKE FPPAC POS.
	.ENDC
/CALLING SEQUENCE--
/	JMS*	JSIGN
/	JMP	.+3
/	.DSA	ARG1 ADDR.	/BIT #0=1 IF INDIRECT
/	.DSA	ARG2	ADDR.	/ "
JSIGN	0
	JMS*	.DA
	JMP	JSIG03
JSIG01	0
JSIG02	0
JSIG03	ELD%	.JG		/LD. INTO AC,MQ
	.DSA	JSIG01+400000		/ARG1
	.IFDEF %FPP
	LAC*	JSIG02		/SIGN OF ARG1
	SPA
	FNG
	FAB		/AS 2 WORD, IGNORE
	NOP
	JMP*	JSIGN
	.ENDC
	.IFUND %FPP
	DAC	JSIG04		/SAVE AC
	XOR*	JSIG02		/SIGNIF. HALF OF ARG 2
	RAL			/L=1 IF SIGNS DIFFERENT
	LAC	JSIG04		/NOW, ARG1 IN AC,MQ
	SNL			/SKP IF SIGN TO BE CHANGED
	JMP*	JSIGN		/SAME: RTN.
	JMS*	.JA		/NEGATE AC,MQ
	JMP*	JSIGN
JSIG04	0
	.ENDC
	.END
