Trailing-Edge
-
PDP-10 Archives
-
decuslib20-03
-
decus/20-0084/comprm.mac
There is 1 other file named comprm.mac in the archive. Click here to see a list.
00100
00200
00300 ;*** THIS ROUTINE ASSEMBLED WITH PARAMETER FILE COMPRM.MAC ***
00400
00500
00600 IF2,<IFNDEF P..LST,<TAPE>> ;DON'T LIST PARAMETER FILE
00700
00800 ;LIST PARAMETER FILE ONLY IF
00900 ;P..LST IS DEFINED. NOT NORMALLY
01000 ;DONE.
01100
01200
01300 ; COMPRM - PARAMETER FILE FOR ASYNCHRONOUS INTERPROCESSOR COMMUNICATIONS ROUTINES
01400
01500 ; R. PALM SYRACUSE, N.Y. JUNE-74
01600
01700 ;*** COPYRIGHT 1974 DIGITAL EQUIPMENT CORP. MAYNARD, MASS. ***
01800
01900
02000
02100 ; THIS MODULE CONTAINS PARAMETER DEFINITIONS WHICH ARE COMMON
02200 ; TO BOTH OF THE ROUTINES FOR INTERPROCESSOR COMMUNICATIONS
02300 ; OVER AN ASYCHRONOUS LINE. IT SHOULD BE ASSEMBLED AS A PARAMETER
02400 ; FILE WITH EACH OF THOSE ROUTINES.
02500
02600
02700
02800 ; DEFINE REGISTER ASSIGNMENTS
02900
03000 CHR= 1 ;KEEPS CURRENT CHARACTER IN PROCOL
03100 ;REGISTER ASSIGNMENT MUST AGREE WITH
03200 ; REGISTER C IN CHANEL
03300 C= 1 ;KEEPS CURRENT CHARACTER IN CHANEL
03400 CRC= 2 ;KEEPS CYCLIC REDUNDANCY CHECK
03500 T1= CRC+1 ;TEMP MUST BE CRC+1 FOR PROCOL
03600 T2= T1+1 ;TEMP
03700 CNT= 5 ;CHARACTER COUNT AC
03800 TIME= 6 ;KEEPS DAYTIME
03900 L= 16 ;LINK REGISTER
04000 ; PUSHJ ARGUMENT LIST POINTER
04100 ; F40 JSA AC
04200 P= 17 ;PUSH DOWN POINTER
04300
04400 IFN CHR-C,<PRINTX
04500 PRINTX ?VALUES OF C AND CHR DO NOT AGREE, CHECK COMPRM.MAC>
04600
04700 ; DEFINE NUMBER OF TEMPORARY REGISTERS TO BE SAVED
04800
04900 HICHNL= 4 ;HIGHEST TEMP AC TO SAVE IN CHANEL.MAC
05000 HIPRCL= 6 ;HIGHEST TEMP AC TO SAVE IN PROCOL.MAC
05100 HIAC= HICHNL ;ASSUME HICHNL > HIPRCL.
05200 IFG HIPRCL-HICHNL,<HIAC=HIPRCL> ;DEFINE HIGHEST TEMP AC TO SAVE OVERALL
05300
05400
05500
05600 ; DEFINE CONSTANTS
05700
05800 TP%BYT= 15 ;COBOL,FORTRAN-10 ARG. IS BYTE POINTER
05900
06000 MSLMAX= ^D80 ;MAXIMUM LENGTH OF MESSAGE
06100 TXLMAX= ^D72 ;MAXIMUM LENGTH OF TEXT