Google
 

Trailing-Edge - PDP-10 Archives - BB-H348C-RM_1982 - swskit-v21/listings/mcb/locnod.list
There are no other files named locnod.list in the archive.
LOCNOD	MACRO M1110  13-OCT-79 10:55  PAGE 3


      1					.TITLE	LOCNOD
      2					.IDENT	/V01.00/
      3					;
      4					; COPYRIGHT (C) 1978 BY
      5					; DIGITAL EQUIPMENT CORPORATION, MAYNARD, MASS.
      6					;
      7					;
      8					; THIS SOFTWARE IS FURNISHED UNDER A LICENSE AND MAY BE USED AND  COPIED
      9					; ONLY  IN  ACCORDANCE  WITH  THE  TERMS  OF  SUCH  LICENSE AND WITH THE
     10					; INCLUSION OF THE ABOVE COPYRIGHT NOTICE.  THIS SOFTWARE OR  ANY  OTHER
     11					; COPIES  THEREOF MAY NOT BE PROVIDED OR OTHERWISE MADE AVAILABLE TO ANY
     12					; OTHER PERSON.  NO TITLE TO AND OWNERSHIP OF  THE  SOFTWARE  IS  HEREBY
     13					; TRANSFERRED.
     14					;
     15					; THE INFORMATION IN THIS SOFTWARE IS SUBJECT TO CHANGE  WITHOUT  NOTICE
     16					; AND  SHOULD  NOT  BE  CONSTRUED  AS  A COMMITMENT BY DIGITAL EQUIPMENT
     17					; CORPORATION.
     18					;
     19					; DIGITAL ASSUMES NO RESPONSIBILITY FOR THE USE OR  RELIABILITY  OF  ITS
     20					; SOFTWARE ON EQUIPMENT WHICH IS NOT SUPPLIED BY DIGITAL.
     21					;
     22					;
     23					; MODULE DESCRIPTION:
     24					;
     25					;   NCU UTILITY MODULE TO GET LOCAL NODE NAME AND NUMBER
     26					;
     27					;
     28					; DISTRIBUTED SYSTEMS SOFTWARE ENGINEERING
     29					;
     30					; IDENT HISTORY:
     31					;
     32					; 1.00	10-FEB-78
     33					;	VERSION 2.0 RELEASE
     34					;
LOCNOD	MACRO M1110  13-OCT-79 10:55  PAGE 4


     36					;
     37					;======================================================================;
     38					;++
     39					;          +-------------------------------------------------+
     40					;          I                                                 I
     41					;          I                   L O C N O D                   I
     42					;          I                   - - - - - -                   I
     43					;          I                                                 I
     44					;          +-------------------------------------------------+
     45					;
     46					; FUNCTION:
     47					;
     48					;   UTILITY ROUTINE TO GET LOCAL NODE NAME AND NUMBER
     49					;
     50					; CALLING SEQUENCE:  CALL LOCNOD
     51					;
     52					; INPUT:
     53					;
     54					;   R1 - MAXIMUM LENGTH OF NAME BUFFER
     55					;   R2 - ADDRESS OF NAME BUFFER
     56					;
     57					; OUTPUT:
     58					;
     59					;   R0 - NODE NUMBER
     60					;   R1 - LENGTH OF NAME RETURNED (ZERO IF BUFFER TOO SMALL)
     61					;   R2 - UPDATED BUFFER POINTER
     62					;
     63					; REQUIREMENTS:
     64					;
     65					;   INPUT VIA LNDDAT:
     66					;
     67					;     NAMLEN - LENGTH OF NODE NAME
     68					;     NODNAM - NODE NAME
     69					;     NODNUM - NODE NUMBER
     70					;
     71					;--
     72					;======================================================================;
     73					;
     74					;
     75					; EXTERNAL MACROS
     76					;
     77					.MCALL	PROC,LNDMDF
     78					;
     79					; DEFINE READ/WRITE MEMORY
     80					;
     81	000000				LNDMDF				;LOCAL NODE NAME MEMORY
LOCNOD	MACRO M1110  13-OCT-79 10:55  PAGE 5


     83					;
     84					; PROCEDURE BODY
     85					;
     86	000000				PROC	LOCNOD
     87	000000				IF ; NODE NAME LENGTH <= BUFFER LENGTH
     88	000000				FALSE   GT NAMLEN,R1
     89	000006				THEN
     90	000006	012700 	000004'		  MOV     #NODNAM,R0		;SET SOURCE ADDRESS
     91	000012	016701 	000002'		  MOV     NAMLEN,R1		;LENGTH OF NODE NAME
     92	000016				  CALL    MOVE			;PUT NODE NAME IN BUFFER
     93	000022	016701 	000002'		  MOV     NAMLEN,R1		;GET A NICE, FRESH LENGTH
     94	000026				ELSE
     95	000030	005001 			  CLR     R1			;NO NAME RETURNED
     96	000032				ENDIF
     97	000032	016700 	000000'		MOV     NODNUM,R0		;RETURN THE NODE NUMBER
     98	000036				ENDPROC
     99		000001 			.END
LOCNOD	MACRO M1110  13-OCT-79 10:55  PAGE 5-1
SYMBOL TABLE

A$$CHK= 000000   	FT$CNS= 000000   	F$OPIN= 000000   	F$TRIN= 000000   	MOVE  = ****** GX
A$$CPS= 000000   	FT$NOD= 000001   	F$OPIR= 000000   	F$TRMA= 000000   	M$$CRB= 000124
A$$TRP= 000000   	FT$TSK= 000001   	F$OPLK= 000005   	F$TRMS= 000002   	M$$CRX= 000000
C$$CKP= 000000   	F$ALBF= 000001   	F$OPLN= 000002   	F$WRBK= 000000   	M$$FCS= 000000
C$$ORE= 000400   	F$ALCB= 000001   	F$OPLO= 000000   	F$WRCL= 000001   	M$$OVR= 000000
C$$RSH= 177564   	F$CB  = 000017   	F$OPOR= 000000   	F$WRCM= 000000   	NAMLEN  000002R     002
D$$BUG= 177514   	F$CLCL= 000001   	F$OPOT= 000000   	F$WRRC= 000000   	NO    = 000000
D$$ISK= 000000   	F$CLCO= 000000   	F$ORLU= 000000   	F$ZERO= 000001   	NODNAM  000004R     002
D$$L11= 000001   	F$CLFL= 000000   	F$OTLU= 000001   	F$ZRCN= 000001   	NODNUM  000000R     002
FL$BOO= 000001   	F$CLLK= 000006   	F$RCBK= 000002   	F$$LVL= 000001   	N$$USR= 000001
FL$DUM= 000001   	F$CLLN= 000002   	F$RCEV= 000001   	F$150 = 000002   	P$$P45= 000000
FL$LOA= 000001   	F$DPOS= 000001   	F$RCIN= 000000   	F$300 = 000012   	R$$DER= 000000
FL$LOO= 000001   	F$DUMP= 000000   	F$RCMA= 000000   	F$50  = 000002   	R$$K11= 000001
FR$LCC= 000001   	F$EVNT= 000001   	F$RCMS= 000002   	F$550 = 000002   	R$$SND= 000000
FR$LCS= 000001   	F$EXAM= 000001   	F$RDBK= 000000   	G$$TPP= 000000   	R$$11M= 000000
FR$LNC= 000001   	F$EXHO= 000000   	F$RDCM= 000000   	G$$TSS= 000000   	S$$WRG= 000000
FR$LNL= 000001   	F$GTCM= 000001   	F$RDIN= 000001   	G$$TTK= 000000   	S$$YSZ= 001600
FR$LNS= 000001   	F$INCM= 000000   	F$RDIS= 000012   	I$$RAR= 000000   	T$$KMG= 000000
FR$RMC= 000001   	F$INLU= 000001   	F$RDRC= 000000   	I$$RDN= 000000   	T$$MIN= 000000
FR$RML= 000001   	F$IRLU= 000000   	F$RECO= 000001   	K$$CNT= 177546   	V$$CTR= 001000
FR$RMS= 000001   	F$LKLU= 000010   	F$RLBF= 000001   	K$$CSR= 177546   	X$$DBT= 000000
FS$HOS= 000001   	F$LNLU= 000002   	F$RLCB= 000001   	K$$LDC= 000000   	YES   = 000001
FS$INT= 000000   	F$LNSR= 000001   	F$STBK= 000000   	K$$TPS= 000074   	$$CSTA= 000000
FS$LLP= 000001   	F$LOAD= 000000   	F$STPR= 000001   	LD$LP = 000000   	$$PRST= 000010
FS$LOF= 000001   	F$LOGD= 000001   	F$STPS= 000006   	LOCNOD  000000RG 	$$STIX= 000777
FS$LOG= 000001   	F$LOOP= 000001   	F$TEST= 000001   	L$$ASG= 000000   	$$STNM= 000000
FS$LST= 000001   	F$NTCM= 000000   	F$TRAC= 000000   	L$$DRV= 000000   	$$S776= 000000
FS$NET= 000001   	F$OPCL= 000001   	F$TRBK= 000001   	L$$P11= 000001   	$$S777= 000000
FS$NST= 000000   	F$OPCO= 000000   	F$TRIG= 000001   	L$$11R= 000000   	$$TRNM= 000000
FS$PAS= 000001

. ABS.	000000	   000
      	000040	   001
LNDDAT	000012	   002
ERRORS DETECTED:  0

VIRTUAL MEMORY USED:  8227 WORDS  ( 33 PAGES)
DYNAMIC MEMORY:  9004 WORDS  ( 34 PAGES)
ELAPSED TIME:  00:00:24
LOCNOD,[135,30]LOCNOD/CR/-SP=[130,10]NETLIB/ML,[135,10]CFGNIC/PA:1,LOCNOD
LOCNOD     CREATED BY  MACRO  ON 13-OCT-79 AT 10:55	PAGE 1

SYMBOL CROSS REFERENCE                                  CREF         

SYMBOL	VALUE		REFERENCES

F$TRAC	= 000000	 5-86       5-86       5-98       5-98      
I$$AS 	= ******	 5-86      
LOCNOD	  000000 RG	#5-86      
MOVE  	= ******  GX	 5-92      
NAMLEN	  000002 R	#4-81       5-88       5-91       5-93      
NODNAM	  000004 R	#4-81       5-90      
NODNUM	  000000 R	#4-81       5-97      
R$$11D	= ******	 5-86      
R$$11M	= 000000	 5-86      
$$CSTA	= 000000	#5-86      
$$PRST	= 000010	#5-86       5-87      #5-87      
$$SLST	= ******	 5-86       5-88       5-88       5-89       5-94       5-94       5-96       5-98      
$$STIX	= 000777	#5-86       5-87       5-87      #5-87       5-87       5-87      #5-87       5-96      #5-96      
                         5-96       5-96      #5-96       5-96      
$$STNM	= 000000	#5-86       5-87      #5-87       5-87       5-88       5-89      *5-94       5-94       5-96      
                        #5-96      
$$S776	= 000000	#5-87       5-96      
$$S777	= 000000	#5-87       5-96      
$$TRNM	= 000000	#5-86       5-87      #5-87       5-88       5-89       5-94      #5-94       5-96      #5-96      
LOCNOD     CREATED BY  MACRO  ON 13-OCT-79 AT 10:55	PAGE 2

MACRO CROSS REFERENCE                                   CREF         

MACRO NAME	REFERENCES

CALL  		#5-92      
CASE  		#5-86      
DO    		#5-86      
ELSE  		#5-86      #5-94      
ENDCAS		#5-86      
ENDIF 		#5-86       5-96      
ENDPRO		#5-86       5-98      
ENDWHI		#5-86      
FALSE 		#5-86       5-88      
FALSEB		#5-86      
IF    		#5-86       5-87      
JMPPRO		#5-86      
LNDMDF		#4-77       4-81      
ONCASE		#5-86      
PROC  		#4-77       5-86      
PROCLC		#5-86      
SWSTK$		#5-86      
THEN  		#5-86       5-89      
TRUE  		#5-86      
TRUEB 		#5-86      
WHILE 		#5-86      
$$BGND		#5-86      #5-88      
$$BGNN		#5-86      #5-88      #5-94      
$$ELSE		#5-86       5-94      
$$GEN1		#5-86      #5-86      #5-88      #5-89      #5-94      #5-94      #5-96      #5-98      
$$GEN2		#5-86      #5-88      
$$GNAB		#5-86       5-88      
$$GNBT		#5-86      
$$GNCM		#5-86      #5-88      
$$INMC		#5-86      #5-86      
$$INSY		#5-86       5-86      
$$LAB 		#5-86       5-89       5-94       5-96      
$$POP 		#5-86       5-96       5-96      
$$POPI		#5-86       5-96       5-96      
$$PUSH		#5-86       5-87       5-87      
$$STSM		#5-86      #5-87      #5-87      
$$SYS 		#5-86      
$$TRCE		#5-86       5-86       5-98