ASSEMBLY LISTING OF SEGMENT >spec>on>09/03/81>gload_cksum_.alm ASSEMBLED ON: 09/04/81 1137.2 mst Fri OPTIONS USED: list ASSEMBLED BY: ALM Version 6.4 April 1981 ASSEMBLER CREATED: 07/17/81 1819.2 mst Fri  1 " ******************************************************  2 " * *  3 " * *  4 " * Copyright (c) 1972 by Massachusetts Institute of *  5 " * Technology and Honeywell Information Systems, Inc. *  6 " * *  7 " * *  8 " ******************************************************  9  10  11 " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " 12 " Program to compute a GCOS stye checksum word, adding with carry except  13 " the last word. The calling sequence is:  14 "  15 " dcl gload_cksum_ entry (ptr, fixed bin (18), bit (36));  16 " call gload_cksum_ (start_ptr, length, cksum_word); 17 "  18 " where: start_ptr  19 " is a ptr to the first word to be added to the inputed  20 " checksum word. (INPUT)  21 " length 22 " is the number of words to be added to form the completed  23 " checksum word. (INPUT)  24 " cksum_word 25 " is the resultant checksum word. (INPUT/OUTPUT)  26 "  27 " Written by J. A. Bush 8/31/81 28 "  29 " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " 000000 30 name gload_cksum_  000000 31 entry gload_cksum_ 32  000000 33 gload_cksum_:  000000 aa 0 00002 3521 20 34 eppbp ap|2,* get array ptr  000001 aa 2 00000 3521 20 35 eppbp bp|0,*  000002 aa 0 00004 7251 20 36 lxl5 ap|4,* load length  000003 aa 000000 6240 00 37 eax4 0 start at 0 000004 aa 0 00006 2351 20 38 lda ap|6,* load the starting addend  000005 aa 007640 6340 07 39 ldi 4000,dl set overflow mask 000006 aa 2 00000 0711 14 40 cks_loop: awca bp|0,4 add next array element  000007 aa 000001 6240 14 41 eax4 1,4 increment index  000010 aa 777777 6250 15 42 eax5 -1,5 decrement count 000011 0a 000006 6054 00 43 tpnz cks_loop transfer if more to do  000012 aa 0 00006 7551 20 44 sta ap|6,* return checksum word  000013 aa 000000 6340 07 45 ldi 0,dl reset overflow mask  000014 aa 7 00044 7101 20 46 short_return " and return 47 end  ENTRY SEQUENCES  000015 5a 000012 0000 00 000016 aa 7 00046 2721 20 000017 0a 000000 7100 00 NO LITERALS  NAME DEFINITIONS FOR ENTRY POINTS AND SEGDEFS 000020 5a 000003 000000 000021 5a 000030 600000 000022 aa 000000 000000 000023 55 000012 000002 000024 5a 000002 400003 000025 55 000006 000012 000026 aa 014 147 154 157 000027 aa 141 144 137 143 000030 aa 153 163 165 155 000031 aa 137 000 000 000 000032 55 000021 000003 000033 0a 000016 500000 000034 55 000015 000003 000035 aa 014 147 154 157 gload_cksum_  000036 aa 141 144 137 143 000037 aa 153 163 165 155 000040 aa 137 000 000 000 000041 55 000002 000012 000042 6a 000000 400002 000043 55 000024 000003 000044 aa 014 163 171 155 symbol_table  000045 aa 142 157 154 137 000046 aa 164 141 142 154 000047 aa 145 000 000 000 DEFINITIONS HASH TABLE  000050 aa 000000 000015 000051 aa 000000 000000 000052 aa 000000 000000 000053 aa 000000 000000 000054 aa 000000 000000 000055 aa 000000 000000 000056 aa 000000 000000 000057 5a 000021 000000 000060 5a 000012 000000 000061 aa 000000 000000 000062 aa 000000 000000 000063 aa 000000 000000 000064 aa 000000 000000 000065 aa 000000 000000 NO EXTERNAL NAMES  NO TRAP POINTER WORDS  TYPE PAIR BLOCKS  000066 aa 000001 000000 000067 aa 000000 000000 INTERNAL EXPRESSION WORDS LINKAGE INFORMATION  000000 aa 000000 000000 000001 0a 000020 000000 000002 aa 000000 000000 000003 aa 000000 000000 000004 aa 000000 000000 000005 aa 000000 000000 000006 22 000010 000010 000007 a2 000000 000000 SYMBOL INFORMATION SYMBOL TABLE HEADER  000000 aa 000000 000001 000001 aa 163171 155142 000002 aa 164162 145145 000003 aa 000000 000004 000004 aa 000000 110172 000005 aa 711315 365225 000006 aa 000000 110270 000007 aa 114354 712606 000010 aa 141154 155040 000011 aa 040040 040040 000012 aa 000024 000040 000013 aa 000034 000040 000014 aa 000044 000100 000015 aa 000002 000002 000016 aa 000064 000000 000017 aa 000000 000120 000020 aa 000000 000103 000021 aa 000000 000107 000022 aa 000112 000103 000023 aa 000064 000000 000024 aa 101114 115040 000025 aa 126145 162163 000026 aa 151157 156040 000027 aa 040066 056064 000030 aa 040040 101160 000031 aa 162151 154040 000032 aa 061071 070061 000033 aa 040040 040040 000034 aa 110157 154155 000035 aa 163164 145144 000036 aa 164056 123171 000037 aa 163115 141151 000040 aa 156164 056155 000041 aa 040040 040040 000042 aa 040040 040040 000043 aa 040040 040040 000044 aa 154151 163164 000045 aa 040040 040040 000046 aa 040040 040040 000047 aa 040040 040040 000050 aa 040040 040040 000051 aa 040040 040040 000052 aa 040040 040040 000053 aa 040040 040040 000054 aa 040040 040040 000055 aa 040040 040040 000056 aa 040040 040040 000057 aa 040040 040040 000060 aa 040040 040040 000061 aa 040040 040040 000062 aa 040040 040040 000063 aa 040040 040040 000064 aa 000000 000001 000065 aa 000000 000001 000066 aa 000072 000042 000067 aa 102672 713303 000070 aa 000000 110270 000071 aa 101674 000000 000072 aa 076163 160145 >spec>on>09/03/81>gload_cksum_.alm  000073 aa 143076 157156 000074 aa 076060 071057 000075 aa 060063 057070 000076 aa 061076 147154 000077 aa 157141 144137 000100 aa 143153 163165 000101 aa 155137 056141 000102 aa 154155 040040 MULTICS ASSEMBLY CROSS REFERENCE LISTING Value Symbol Source file Line number  6 cks_loop gload_cksum_: 40, 43. 0 gload_cksum_ gload_cksum_: 31, 33. NO FATAL ERRORS  ----------------------------------------------------------- Historical Background This edition of the Multics software materials and documentation is provided and donated to Massachusetts Institute of Technology by Group BULL including BULL HN Information Systems Inc. as a contribution to computer science knowledge. This donation is made also to give evidence of the common contributions of Massachusetts Institute of Technology, Bell Laboratories, General Electric, Honeywell Information Systems Inc., Honeywell BULL Inc., Groupe BULL and BULL HN Information Systems Inc. to the development of this operating system. Multics development was initiated by Massachusetts Institute of Technology Project MAC (1963-1970), renamed the MIT Laboratory for Computer Science and Artificial Intelligence in the mid 1970s, under the leadership of Professor Fernando Jose Corbato. Users consider that Multics provided the best software architecture for managing computer hardware properly and for executing programs. Many subsequent operating systems incorporated Multics principles. Multics was distributed in 1975 to 2000 by Group Bull in Europe , and in the U.S. by Bull HN Information Systems Inc., as successor in interest by change in name only to Honeywell Bull Inc. and Honeywell Information Systems Inc. . ----------------------------------------------------------- Permission to use, copy, modify, and distribute these programs and their documentation for any purpose and without fee is hereby granted,provided that the below copyright notice and historical background appear in all copies and that both the copyright notice and historical background and this permission notice appear in supporting documentation, and that the names of MIT, HIS, BULL or BULL HN not be used in advertising or publicity pertaining to distribution of the programs without specific prior written permission. Copyright 1972 by Massachusetts Institute of Technology and Honeywell Information Systems Inc. Copyright 2006 by BULL HN Information Systems Inc. Copyright 2006 by Bull SAS All Rights Reserved