ASSEMBLY LISTING OF SEGMENT >dumps>old>recomp>fix_bit.alm ASSEMBLED ON: 11/04/82 1850.4 mst Thu OPTIONS USED: list ASSEMBLED BY: ALM Version 6.4 April 1981 ASSEMBLER CREATED: 11/03/82 1423.6 mst Wed  1 " ***********************************************************  2 " * *  3 " * Copyright, (C) Honeywell Information Systems Inc., 1982 *  4 " * *  5 " * Copyright (c) 1972 by Massachusetts Institute of *  6 " * Technology and Honeywell Information Systems, Inc. *  7 " * *  8 " ***********************************************************  9  000000 10 name fix_bit  11  000000 12 entry fix_bit 000006 13 entry double  14  15 " This little function takes a left-adjusted bit string and 16 " right-adjusts it in a word, propagating the sign. It can  17 " be called from pl1 thus:  18  19 " fixed_bin_word = fixed_bit(aligned_bit, length);  20  21 " where length is the number of bits in the string (if it  22 " exceeds 36 use entry point double below). 23  24  000000 aa 0 00002 2351 20 25 fix_bit: lda ap|2,* 000001 aa 000044 2360 07 26 ldq 36,dl  000002 aa 0 00004 1761 20 27 sbq ap|4,* 000003 aa 000000 7310 06 28 ars 0,ql  000004 aa 0 00006 7551 20 29 sta ap|6,* 000005 aa 7 00044 7101 20 30 short_return  31  32  33 " This entry point is used when the string is longer  34 " than 36 bits (but not more than 72). It returns its  35 " result in a fixed bin(71) number, thus:  36 "  37 " fixed_bin_71 = fix_bit$double(aligned_bit, length);  38 "  39 "  40  000006 aa 000110 2360 07 41 double: ldq 72,dl  000007 aa 0 00004 1761 20 42 sbq ap|4,* 000010 aa 000000 6200 06 43 eax0 0,ql  000011 aa 0 00002 2371 20 44 ldaq ap|2,*  000012 aa 000000 7330 10 45 lrs 0,0  000013 aa 0 00006 7571 20 46 staq ap|6,*  000014 aa 7 00044 7101 20 47 short_return  48  49  50 end  ENTRY SEQUENCES  000015 5a 000015 0000 00 000016 aa 7 00046 2721 20 000017 0a 000000 7100 00 000020 5a 000010 0000 00 000021 aa 7 00046 2721 20 000022 0a 000006 7100 00 NO LITERALS  NAME DEFINITIONS FOR ENTRY POINTS AND SEGDEFS 000024 5a 000003 000000 000025 5a 000031 600000 000026 aa 000000 000000 000027 55 000010 000002 000030 5a 000002 400003 000031 55 000006 000010 000032 aa 007 146 151 170 000033 aa 137 142 151 164 000034 55 000015 000003 000035 0a 000021 500000 000036 55 000013 000003 000037 aa 006 144 157 165 double  000040 aa 142 154 145 000 000041 55 000022 000010 000042 0a 000016 500000 000043 55 000020 000003 000044 aa 007 146 151 170 fix_bit 000045 aa 137 142 151 164 000046 55 000002 000015 000047 6a 000000 400002 000050 55 000025 000003 000051 aa 014 163 171 155 symbol_table  000052 aa 142 157 154 137 000053 aa 164 141 142 154 000054 aa 145 000 000 000 DEFINITIONS HASH TABLE  000055 aa 000000 000015 000056 aa 000000 000000 000057 5a 000015 000000 000060 aa 000000 000000 000061 aa 000000 000000 000062 aa 000000 000000 000063 aa 000000 000000 000064 5a 000022 000000 000065 aa 000000 000000 000066 aa 000000 000000 000067 5a 000010 000000 000070 aa 000000 000000 000071 aa 000000 000000 000072 aa 000000 000000 NO EXTERNAL NAMES  NO TRAP POINTER WORDS  TYPE PAIR BLOCKS  000073 aa 000001 000000 000074 aa 000000 000000 INTERNAL EXPRESSION WORDS 000075 aa 000000 000000 LINKAGE INFORMATION 000000 aa 000000 000000 000001 0a 000024 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 111316 000005 aa 510113 575622 000006 aa 000000 111320 000007 aa 103111 315242 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 000117 000020 aa 000000 000102 000021 aa 000000 000106 000022 aa 000111 000102 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 000035 000067 aa 113171 052644 000070 aa 000000 111317 000071 aa 773141 600000 000072 aa 076144 165155 >dumps>old>recomp>fix_bit.alm  000073 aa 160163 076157 000074 aa 154144 076162 000075 aa 145143 157155 000076 aa 160076 146151 000077 aa 170137 142151 000100 aa 164056 141154 000101 aa 155040 040040 MULTICS ASSEMBLY CROSS REFERENCE LISTING Value Symbol Source file Line number  6 double fix_bit: 13, 41.  0 fix_bit fix_bit: 12, 25.  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