ASSEMBLY LISTING OF SEGMENT >spec>install>1110>hfp_to_bfp_.alm ASSEMBLED ON: 11/11/89 0944.0 mst Sat OPTIONS USED: -target l68 list symbols ASSEMBLED BY: ALM Version 8.14 March 1989 ASSEMBLER CREATED: 06/09/89 1002.3 mst Fri 1 " ****************************************** 2 " * * 3 " * Copyright, (C) Honeywell Limited, 1983 * 4 " * * 5 " ****************************************** 6 7 " Function: Convert a Hexadecimal Floating Point number to the 8 " nearest Binary Floating Point number. 9 " 10 " Entry: EAQ = HFP number to convert. 11 " PR2 = address of 1 word work area. 12 " PR3 = return address. 13 " 14 " Exit: EAQ = BFP equivalent of original HFP number. 15 16 " Written 20 Dec 83 by HH. 17 000000 18 segdef hfp_to_bfp_ 19 000000 20 equ exponent,0 000000 21 equ indicators,0 22 000000 23 hfp_to_bfp_: 000000 aa 2 00000 7541 00 24 sti pr2|indicators save indicators 000001 aa 004000 6340 07 25 ldi =o4000,dl mask overflows and enter BFP mode 000002 aa 2 00000 4561 00 26 ste pr2|exponent 000003 aa 000000 5730 00 27 fno 000004 0a 000026 6000 00 28 tze return_zero 000005 aa 2 00000 4151 00 29 ade pr2|exponent 000006 0a 000020 6140 00 30 teo return_max_bfp 000007 0a 000026 6150 00 31 teu return_zero 000010 aa 2 00000 4151 00 32 ade pr2|exponent 000011 0a 000020 6140 00 33 teo return_max_bfp 000012 0a 000026 6150 00 34 teu return_zero 000013 aa 2 00000 4151 00 35 ade pr2|exponent 000014 0a 000020 6140 00 36 teo return_max_bfp 000015 0a 000026 6150 00 37 teu return_zero 000016 aa 2 00000 6341 00 38 ldi pr2|indicators restore indicators 000017 aa 3 00000 7101 00 39 tra pr3|0 return 40 000020 41 return_max_bfp: 000020 aa 2 00000 6341 00 42 ldi pr2|indicators restore indicators 000021 aa 376000 4110 03 43 lde =o376000,du 000022 aa 400000 6750 03 44 era =o400000,du 000023 aa 000110 7330 00 45 lrs 72 000024 aa 400000 6750 03 46 era =o400000,du 000025 aa 3 00000 7101 00 47 tra pr3|0 return 48 000026 49 return_zero: 000026 aa 2 00000 6341 00 50 ldi pr2|indicators restore indicators 000027 aa 400000 4310 03 51 fld =0.0,du load "normalized" floating zero 000030 aa 3 00000 7101 00 52 tra pr3|0 return 53 54 end NO LITERALS NAME DEFINITIONS FOR ENTRY POINTS AND SEGDEFS 000032 5a 000003 000000 000033 5a 000026 600000 000034 aa 000000 000000 000035 55 000011 000002 000036 5a 000002 400003 000037 55 000006 000011 000040 aa 013 150 146 160 000041 aa 137 164 157 137 000042 aa 142 146 160 137 000043 55 000017 000003 000044 0a 000000 400000 000045 55 000014 000003 000046 aa 013 150 146 160 hfp_to_bfp_ 000047 aa 137 164 157 137 000050 aa 142 146 160 137 000051 55 000002 000011 000052 6a 000000 400002 000053 55 000022 000003 000054 aa 014 163 171 155 symbol_table 000055 aa 142 157 154 137 000056 aa 164 141 142 154 000057 aa 145 000 000 000 DEFINITIONS HASH TABLE 000060 aa 000000 000015 000061 aa 000000 000000 000062 aa 000000 000000 000063 aa 000000 000000 000064 aa 000000 000000 000065 aa 000000 000000 000066 aa 000000 000000 000067 5a 000017 000000 000070 aa 000000 000000 000071 5a 000011 000000 000072 aa 000000 000000 000073 aa 000000 000000 000074 aa 000000 000000 000075 aa 000000 000000 NO EXTERNAL NAMES NO TRAP POINTER WORDS TYPE PAIR BLOCKS 000076 aa 000001 000000 000077 aa 000000 000000 INTERNAL EXPRESSION WORDS LINKAGE INFORMATION 000000 aa 000000 000000 000001 0a 000032 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 000010 000004 aa 000000 117244 000005 aa 361023 525721 000006 aa 000000 117547 000007 aa 253010 223506 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 000130 000020 aa 000000 000103 000021 aa 000113 000110 000022 aa 000122 000103 000023 aa 000064 000000 000024 aa 101114 115040 000025 aa 126145 162163 000026 aa 151157 156040 000027 aa 070056 061064 000030 aa 040115 141162 000031 aa 143150 040061 000032 aa 071070 071040 000033 aa 040040 040040 000034 aa 110151 162156 000035 aa 145151 163145 000036 aa 156056 123171 000037 aa 163115 141151 000040 aa 156164 056141 000041 aa 040040 040040 000042 aa 040040 040040 000043 aa 040040 040040 000044 aa 055164 141162 000045 aa 147145 164040 000046 aa 154066 070040 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 040154 151163 000057 aa 164040 163171 000060 aa 155142 157154 000061 aa 163040 040040 000062 aa 040040 040040 000063 aa 040040 040040 000064 aa 000000 000001 000065 aa 000000 000001 000066 aa 000072 000042 000067 aa 175453 020012 000070 aa 000000 117547 000071 aa 176336 400000 000072 aa 076163 160145 >spec>install>1110>hfp_to_bfp_.alm 000073 aa 143076 151156 000074 aa 163164 141154 000075 aa 154076 061061 000076 aa 061060 076150 000077 aa 146160 137164 000100 aa 157137 142146 000101 aa 160137 056141 000102 aa 154155 040040 MULTICS ASSEMBLY CROSS REFERENCE LISTING Value Symbol Source file Line number 0 exponent hfp_to_bfp_: 20, 26, 29, 32, 35. 0 hfp_to_bfp_ hfp_to_bfp_: 18, 23. 0 indicators hfp_to_bfp_: 21, 24, 38, 42, 50. 20 return_max_bfp hfp_to_bfp_: 30, 33, 36, 41. 26 return_zero hfp_to_bfp_: 28, 31, 34, 37, 49. 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