Google
 

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


      1						.TITLE	NXDTE
      2						.IDENT	/X01.02/
      3
      4					; COPYRIGHT (C) 1978 BY
      5					; DIGITAL EQUIPMENT CORPORATION, MAYNARD, MASS.
      6					;
      7					; THIS SOFTWARE IS FURNISHED UNDER A LICENSE AND MAY BE USED AND  COPIED
      8					; ONLY  IN  ACCORDANCE  WITH  THE  TERMS  OF  SUCH  LICENSE AND WITH THE
      9					; INCLUSION OF THE ABOVE COPYRIGHT NOTICE.  THIS SOFTWARE OR  ANY  OTHER
     10					; COPIES  THEREOF MAY NOT BE PROVIDED OR OTHERWISE MADE AVAILABLE TO ANY
     11					; OTHER PERSON.  NO TITLE TO AND OWNERSHIP OF  THE  SOFTWARE  IS  HEREBY
     12					; TRANSFERRED.
     13					;
     14					; THE INFORMATION IN THIS SOFTWARE IS SUBJECT TO CHANGE  WITHOUT  NOTICE
     15					; AND  SHOULD  NOT  BE  CONSTRUED  AS  A COMMITMENT BY DIGITAL EQUIPMENT
     16					; CORPORATION.
     17					;
     18					; DIGITAL ASSUMES NO RESPONSIBILITY FOR THE USE OR  RELIABILITY  OF  ITS
     19					; SOFTWARE ON EQUIPMENT WHICH IS NOT SUPPLIED BY DIGITAL.
     20					;
     21					; MODULE DESCRIPTION:
     22					;	NXDTE PERFORMS DTE-DEPENDENT OPERATIONS FOR NCP.
     23					;
     24					; LCG COMM/NETS SOFTWARE ENGINEERING
     25					;
     26					; IDENT HISTORY:
     27					;
     28					; 1.00	20-DEC-78
     29					;	VERSION 4.0 RELEASE
     30
     31
     32					; MACRO LIBRARY CALLS
     33						.MCALL	DTEDF$,NICDF,DLXDF$,SAVRG,RESRG
     34
     35	000000					DTEDF$			; DEFINE DTE SYMBOLS
     36	000000					NICDF			; NICE SYMBOLS
     37	000000					DLXDF$			; DEFINE DLX SYMBOLS
     38
     39	000000					PROCESS	DTE,RLG=RDLOG,SLG=EVLOG,RCN=RDCNT,ZCN=ZRCNT
NXDTE	MACRO M1110  13-OCT-79 10:35  PAGE 4


     41					;+
     42					; ** - RDLOG
     43					;
     44					; GET EVENT LOGGING FOR SPECIFIED LINE.
     45					;
     46					; INPUTS:
     47					;	R4 = DLT ADDRESS.
     48					;
     49					; OUTPUTS:
     50					;	R0 = LOGGING DESTINATION (OR ZERO FOR NO LOGGING).
     51					;
     52					; SIDE EFFECTS: CALLING CONTEXT IS PRESERVED.
     53					;-
     54
     55	000010	016400 	000032 		RDLOG:	MOV	L.LOG(R4),R0	; GET LOGGING STATE
     56	000014	000241 				CLC			; AWRIGHT
     57	000016					RETURN			; EXIT
NXDTE	MACRO M1110  13-OCT-79 10:35  PAGE 5

     59					;+
     60					; ** - EVLOG
     61					;
     62					; SET/CLEAR EVENT LOGGING FOR SPECIFIED LINE.
     63					;
     64					; INPUTS:
     65					;	R0 = LOGGING DESTINATION (OR ZERO FOR NO LOGGING).
     66					;	R4 = DLT ADDRESS.
     67					;
     68					; OUTPUTS: LOGGING IS SET/CLEARED.
     69					;
     70					; SIDE EFFECTS: CALLING CONTEXT IS PRESERVED.
     71					;-
     72
     73	000020	010064 	000032 		EVLOG:	MOV	R0,L.LOG(R4)	; SET/CLEAR LOGGING
     74	000024	000241 				CLC			; AWRIGHT
     75	000026					RETURN			; EXIT
NXDTE	MACRO M1110  13-OCT-79 10:35  PAGE 6


     77					;+
     78					; RDCNT - READ LINE COUNTERS
     79					;
     80					; PRINTS THE COUNTERS FROM THE LINE TABLE
     81					;
     82					; INPUTS:
     83					;	R4 = LINE TABLE ADDRESS
     84					;
     85					; NO OUTPUTS
     86					;
     87					; REGISTERS MODIFIED: R0
     88					;-
     89
     90	000000					.PSECT	BYTE,D
     91	000000	   000 	   136 		RDTDTE:	.BYTE	NL$ZRO,L.TLZ	; TIME LAST ZEROED
     92	000002	   001 	   140 			.BYTE	NL$BRC,L.RCV	; BLOCKS RECEIVED
     93	000004	   002 	   142 			.BYTE	NL$BTR,L.XMT	; BLOCKS TRANSMITTED
     94	000006	   005 	   233 			.BYTE	NL$RES,-L.RES	; RESOURCE ERRORS
     95					;	.BYTE	NL$TMO,-L.TMO	; TIMEOUT ERRORS
     96	000010	   200 				.BYTE	200
     97
     98	000030					.PSECT
     99	000030				RDCNT:	SAVRG	R1		; SAVE A REGISTER.
    100	000032	012701 	000000'			MOV	#RDTDTE,R1	; GET COUNTER DISPLACEMENT TABLE
    101	000036					CALL	$PUTCT		; AND MOVE IN WHAT COUNTERS WE CAN.
    102	000042					RESRG	R1		; FINISHED WITH REGISTER
    103	000044					RETURN
NXDTE	MACRO M1110  13-OCT-79 10:35  PAGE 7


    105					;+
    106					; ZRCNT - ZERO COUNTERS
    107					;
    108					; ZEROES THE ERROR COUNTERS IN THE LINE TABLE AND RESETS THE
    109					; TIME LAST ZEROED.
    110					;
    111					; INPUTS:
    112					;	R4 = LINE TABLE ADDRESS
    113					;	.CRTIM = CURRENT TIME AS (SECONDS SINCE MIDNIGHT)/2
    114					;
    115					; OUTPUTS:
    116					;	COUNTERS RESET
    117					;
    118					; REGISTERS MODIFIED: R0
    119					;-
    120
    121	000046				ZRCNT:	SAVRG	R4		; SAVE A REGISTER.
    122	000050	062704 	000136 			ADD	#L.TLZ,R4	; INDEX TO TIME LAST ZEROED
    123	000054	016724 	000000G			MOV	.CURTM,(R4)+	; RESET IT
    124	000060	005024 				CLR	(R4)+		; ZERO XMITT BLOCK COUNT
    125	000062	005024 				CLR	(R4)+		; ZERO RECEIVE COUNT
    126	000064	005024 				CLR	(R4)+		; AND THE TWO BYTE COUNTERS
    127	000066					RESRG	R4		; FINISHED WITH REGISTERS
    128	000070					RETURN
    129
    130		000001 				.END
NXDTE	MACRO M1110  13-OCT-79 10:35  PAGE 7-1
SYMBOL TABLE

A$$CHK= 000000   	L$$DRV= 000000   	L.XMT   000142   	NL$TMO= 000006   	P$$WRD= 000000
A$$CPS= 000000   	L$$P11= 000001   	L.XQZ   000130   	NL$ZRO= 000000   	Q$$OPT= 000010
A$$PRI= 000000   	L$$11R= 000000   	L.XST   000110   	NNOD    000000   	RDCNT   000030R
A$$TRP= 000000   	L.CST   000022   	L.XTM   000134   	NNUM    000002   	RDLOG   000010R
C$$CKP= 000000   	L.DMH   000050   	M$$CRB= 000124   	NN$CAC= 000011   	RDTDTE  000000R     004
C$$ORE= 000400   	L.EHG   000042   	M$$CRX= 000000   	NN$CNI= 000013   	R$$DER= 000000
C$$RSH= 177564   	L.EHM   000044   	M$$FCS= 000000   	NN$CNR= 000014   	R$$K11= 000001
DM$END= 000000   	L.EMG   000046   	M$$MGE= 000000   	NN$EXT= 000003   	R$$SND= 000000
DM$MIM= 000002   	L.HKA   000052   	M$$OVR= 000000   	NN$FMT= 000005   	R$$11M= 000000
DM$PXA= 000003   	L.HPN   000041   	ND$BAD= 177777   	NN$IZS= 000007   	ST$DIS= 000006
DM$SAD= 000001   	L.ICB   000020   	ND$LCC= 000000   	NN$IZU= 000010   	ST$ENA= 000005
D$$BUG= 177514   	L.IVC   000002   	ND$LCS= 000001   	NN$MAC= 000012   	ST$LOO= 000003
D$$ISK= 000000   	L.LOG   000032   	ND$LNC= 000004   	NN$NKS= 000004   	ST$MAI= 000004
D$$L11= 000001   	L.MKA   000054   	ND$LNS= 000005   	NN$RES= 000006   	ST$OFF= 000001
D$$YNC= 000000   	L.MPN   000040   	ND$RMC= 000002   	NN$UMR= 000002   	ST$ON = 000000
D$$YNM= 000000   	L.PCQ   000034   	ND$RMS= 000003   	NN$UMS= 000001   	ST$SHU= 000002
EVLOG   000020R  	L.PSW   000030   	ND$ZLC= 000000   	NN$ZRO= 000000   	S$$WRG= 000000
E$$XPR= 000000   	L.RBA   000072   	ND$ZLN= 000002   	NPWD    000004   	S$$YSZ= 007600
F$$LVL= 000001   	L.RBZ   000100   	ND$ZRM= 000001   	NSTA    000006   	S.RCN   000004
G$$TPP= 000000   	L.RCB   000070   	NE$CON= 177762   	NS$SUC= 000001   	S.RLG   000002
G$$TSS= 000000   	L.RCT   000076   	NE$FIL= 177763   	N$DPOS= 000014   	S.SLG   000000
G$$TTK= 000000   	L.RCV   000140   	NE$FIO= 177756   	N$DUMP= 000003   	S.ZCN   000006
G$$WRD= 000000   	L.RCZ   000102   	NE$FOR= 177776   	N$EXAM= 000015   	TASN    000016
I$$RAR= 000000   	L.RES   000145   	NE$FUN= 177777   	N$LNSR= 000016   	TCTL    000002
I$$RDN= 000000   	L.RFQ   000064   	NE$LCO= 177766   	N$LOAD= 000002   	TDDM    000014
K$$CNT= 177546   	L.RLA   000074   	NE$LID= 177770   	N$LOGD= 000001   	TDLC    000015
K$$CSR= 177546   	L.RPZ   000104   	NE$LPR= 177757   	N$LOOP= 000005   	TFLG    000006
K$$LDC= 000000   	L.RQZ   000102   	NE$LST= 177767   	N$RDIN= 000010   	TLIN    000003
K$$TPS= 000074   	L.RST   000056   	NE$NCO= 177755   	N$STPR= 000007   	TNAM    000000
LD$LP = 000000   	L.RTM   000106   	NE$NIC= 177753   	N$TEST= 000006   	TPDV    000007
LI$KNO= 000000   	L.SLN   000026   	NE$NOD= 177765   	N$TRIG= 000004   	TSLF    000012
LI$STA= 000001   	L.STS   000024   	NE$NOR= 177754   	N$ZERO= 000011   	TSLN    000010
LI$STR= 000002   	L.TIM   000000   	NE$ORD= 177774   	N$$LDV= 000001   	TSTA    000004
LS$DUM= 000002   	L.TLZ   000136   	NE$PAR= 177760   	N$$MOV= 000010   	T$$KMG= 000000
LS$LOA= 000000   	L.TMO   000144   	NE$RES= 177761   	N$$SYS= 000001   	T$$MIN= 000000
LS$LOO= 000001   	L.UNT   000001   	NE$SER= 177764   	N$$USR= 000001   	V$$CTR= 001000
LS$TRI= 000004   	L.XBA   000124   	NE$STA= 177775   	N.MLEN= 000454   	X$$DBT= 000000
LS$TRQ= 000003   	L.XBZ   000132   	NL$BRC= 000001   	PT$END= 000000   	ZRCNT   000046R
LS.ICB= 020000   	L.XCB   000122   	NL$BTR= 000002   	PT$HOS= 000003   	$DTELZ= 000146
LS.INI= 040000   	L.XCT   000130   	NL$RES= 000005   	PT$NAM= 000001   	$PUTCT= ****** GX
LS.RUN= 100000   	L.XLA   000126   	NL$RLE= 000004   	PT$NUM= 000002   	$$$   = 000000R
L$$ASG= 000000   	L.XMQ   000116   	NL$RTR= 000003   	P$$P45= 000000   	.CURTM= ****** GX

. ABS.	000146	   000
      	000072	   001
$$DSP1	000002	   002
$$NAM1	000002	   003
BYTE  	000011	   004
ERRORS DETECTED:  0

VIRTUAL MEMORY USED:  5694 WORDS  ( 23 PAGES)
DYNAMIC MEMORY:  6892 WORDS  ( 26 PAGES)
ELAPSED TIME:  00:00:18
NXDTE,[131,34]NXDTE/CR/-SP=[130,10]NETLIB/ML,RSXMC4/PA:1,[131,10]NXDTE
NXDTE      CREATED BY  MACRO  ON 13-OCT-79 AT 10:35	PAGE 1

SYMBOL CROSS REFERENCE                                  CREF         

SYMBOL	VALUE		REFERENCES

EVLOG 	  000020 R	 3-39      #5-73      
LS.ICB	= 020000	#3-35      
LS.INI	= 040000	#3-35      
LS.RUN	= 100000	#3-35      
L.CST 	  000022	#3-35      
L.DMH 	  000050	#3-35      
L.EHG 	  000042	#3-35      
L.EHM 	  000044	#3-35      
L.EMG 	  000046	#3-35      
L.HKA 	  000052	#3-35      
L.HPN 	  000041	#3-35      
L.ICB 	  000020	#3-35      
L.IVC 	  000002	#3-35      
L.LOG 	  000032	#3-35       4-55      *5-73      
L.MKA 	  000054	#3-35      
L.MPN 	  000040	#3-35      
L.PCQ 	  000034	#3-35      
L.PSW 	  000030	#3-35      
L.RBA 	  000072	#3-35      
L.RBZ 	  000100	#3-35      
L.RCB 	  000070	#3-35      
L.RCT 	  000076	#3-35      
L.RCV 	  000140	#3-35       6-92      
L.RCZ 	  000102	#3-35      
L.RES 	  000145	#3-35       6-94      
L.RFQ 	  000064	#3-35      
L.RLA 	  000074	#3-35      
L.RPZ 	  000104	#3-35      
L.RQZ 	  000102	#3-35      
L.RST 	  000056	#3-35      
L.RTM 	  000106	#3-35      
L.SLN 	  000026	#3-35      
L.STS 	  000024	#3-35      
L.TIM 	  000000	#3-35      
L.TLZ 	  000136	#3-35       6-91       7-122     
L.TMO 	  000144	#3-35      
L.UNT 	  000001	#3-35      
L.XBA 	  000124	#3-35      
L.XBZ 	  000132	#3-35      
L.XCB 	  000122	#3-35      
L.XCT 	  000130	#3-35      
L.XLA 	  000126	#3-35      
L.XMQ 	  000116	#3-35      
L.XMT 	  000142	#3-35       6-93      
L.XQZ 	  000130	#3-35      
L.XST 	  000110	#3-35      
L.XTM 	  000134	#3-35      
M$$MGE	= 000000	 3-35      
NL$BRC	= 000001	 6-92      
NL$BTR	= 000002	 6-93      
NL$RES	= 000005	 6-94      
NL$ZRO	= 000000	 6-91      
NXDTE      CREATED BY  MACRO  ON 13-OCT-79 AT 10:35	PAGE 2

SYMBOL CROSS REFERENCE                                  CREF         

SYMBOL	VALUE		REFERENCES

NNOD  	  000000	#3-37      
NNUM  	  000002	#3-37      
NPWD  	  000004	#3-37      
NSTA  	  000006	#3-37      
RDCNT 	  000030 R	 3-39      #6-99      
RDLOG 	  000010 R	 3-39      #4-55      
RDTDTE	  000000 R	#6-91       6-100     
S.RCN 	  000004	#3-37      
S.RLG 	  000002	#3-37      
S.SLG 	  000000	#3-37      
S.ZCN 	  000006	#3-37      
TASN  	  000016	#3-37      
TCTL  	  000002	#3-37      
TDDM  	  000014	#3-37      
TDLC  	  000015	#3-37      
TFLG  	  000006	#3-37      
TLIN  	  000003	#3-37      
TNAM  	  000000	#3-37      
TPDV  	  000007	#3-37      
TSLF  	  000012	#3-37      
TSLN  	  000010	#3-37      
TSTA  	  000004	#3-37      
ZRCNT 	  000046 R	 3-39      #7-121     
$DTELZ	= 000146	#3-35      
$PUTCT	= ******  GX	 6-101     
$$$   	= 000000 R	#3-39       3-39      
.CURTM	= ******  GX	 7-123     
NXDTE      CREATED BY  MACRO  ON 13-OCT-79 AT 10:35	PAGE 3

MACRO CROSS REFERENCE                                   CREF         

MACRO NAME	REFERENCES

CALL  		 6-101     
DLXDF$		#3-33      #3-37      
DTEDF$		#3-33       3-35      
NICDF 		#3-33       3-36      
PROCES		#3-37       3-39      
RESRG 		#3-33       6-102      7-127     
RETURN		 4-57       5-75       6-103      7-128     
SAVRG 		#3-33      #6-99      #7-121     
TMPDF$		#3-35      #3-35      
.BIN  		#3-35      
.CNB  		#3-35      
.CNW  		#3-35      
.CORE 		#3-35      
.CSR  		#3-35      
.DVCHA		#3-35      
.INT  		#3-35       3-35      
.INT1 		#3-35      
.INT2 		#3-35      
.INT3 		#3-35      
.LFLHD		#3-35      
.LIBR 		#3-35      
.LINKS		#3-35      
.LSTHD		#3-35       3-35       3-35       3-35      
.LTAB 		#3-35      
.MPLHD		#3-35      
.POOL 		#3-35      
.PRI  		#3-35      
.SCOM 		#3-35      
.SECSR		#3-35      
.SLNB 		#3-35      
.SLNW 		#3-35      
.STNB 		#3-35      
.STNW 		#3-35      
.UNB  		#3-35      
.UNW  		#3-35      
.VFY  		#3-35