Google
 

Trailing-Edge - PDP-10 Archives - BB-H506E-SM - cobol/source/debstb.mac
There are 7 other files named debstb.mac in the archive. Click here to see a list.
; UPD ID= 1058 on 6/12/78 at 2:46 PM
TITLE	DEBSTB FOR LIBOL V12C
SUBTTL	NUMERIC TEST TABLES FOR BIS.



	SEARCH	COPYRT
	SALL

;COPYRIGHT (C) DIGITAL EQUIPMENT CORPORATION 1975, 1985
;ALL RIGHTS RESERVED.
;
;THIS SOFTWARE IS FURNISHED UNDER A LICENSE AND MAY BE USED AND COPIED
;ONLY  IN  ACCORDANCE  WITH  THE  TERMS  OF  SUCH LICENSE.

;REVISION HISTORY:

;V10 *****

;	6-JUL-75	/ACK	EXTRACTED THIS MODULE FROM EASTBL.

;*****

	SEARCH	LBLPRM		;DEFINE ASSEMBLY PARAMETERS.
	%%LBLP==:%%LBLP
	BIS==BIS

	SEARCH	NUMEQV		;DEFINE THE NUMERIC EQUIVALENCES.

	SEARCH	FLGDF		;DEFINE THE FLAGS.
	LDGCH.==:LDGCH.
	SPCCH.==:SPCCH.
	IBNCH.==:IBNCH.
	VALCH.==:VALCH.

	SALL

	HISEG
	.COPYRIGHT		;Put COPYRIGHT statement in .REL file.

; DEFINE THE DECIMAL TO BINARY CONVERSION TABLES

; BASIC TABLE GENERATION MACRO

DEFINE	CVDB.T(SRC)	 
<	.XCREF
	BTBMAC(SRC,S)		;S IS A DUMMY
	%CHAR==0
	DEFINE	SYMBL
	<	SYM%==NUMVAL
		IFALSE	LEADNG,<SIGSET>
		IFTRUE	NEGOVP,<MSET>
		IFALSE	NEGOVP,<IFTRUE	LEADNG,<ABTSIG>
				IFALSE LEADNG,<GPHSGN
			  		     IFTRUE	VAL,<ABORT>
			IFN ANS68,<  ;SO LEADING IMBEDDED SIGN WORKS
				IFALSE VAL,<MCLR> >;END IFN ANS68
					   >
				>

		%CHAR==%CHAR+1
	>
 	TBLSIZ
	 REPEAT	VAL,<
	  SYMBL
	  SYM1==SYM%
	  SYMBL
	  XWD	SYM1,SYM%
	>
	.CREF
>

; NOW GENERATE THE TABLES

ENTRY	CVDB.7
CVDB.7::	BLOCK	0
ENTRY	CVDB.6
CVDB.6=:.+20

IFN BIS,<
	CVDB.T	A
>

ENTRY	CVDB.9
CVDB.9:	BLOCK	0

IFN BIS,<
	CVDB.T	E
>


	END	;DEBSTB.MAC