ASSEMBLY LISTING OF SEGMENT >udd>sm>ds>w>ml>token_to_binary.alm ASSEMBLED ON: 04/18/00 1154.6 mdt Tue OPTIONS USED: list symbols ASSEMBLED BY: ALM Version 8.14 March 1989 ASSEMBLER CREATED: 06/09/89 1102.3 mdt Fri 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 10 " Quick decimal to binary conversion program for v2pl1 11 " Barry L. Wolman, 17 May 1973 12 " 13 " dcl token_to_binary entry(ptr) returns(fixed bin) 14 " n = token_to_binary(p) 15 " 16 " where p points at v2pl1 token node 17 " 000000 18 entry token_to_binary 19 include token 000000 1-1 equ token.node_type,0 000000 1-2 equ token.type,0 000000 1-3 equ token.loc,0 000001 1-4 equ token.declaration,1 000002 1-5 equ token.next,2 000003 1-6 equ token.size,3 000004 1-7 equ token.string,4 20 000000 21 token_to_binary: 000000 aa 0 00002 3521 20 22 epp2 0|2,* get ptr to token node 000001 aa 2 00000 3521 20 23 epp2 2|0,* 000002 aa 0 00004 3535 20 24 epp3 0|4,* get ptr to output result 000003 aa 2 00003 2351 00 25 lda 2|token.size get size of string 000004 aa 2 00004 2361 00 26 ldq 2|token.string get first character of string 000005 aa 777000 3760 03 27 anq =o777000,du 000006 aa 053000 1160 03 28 cmpq =a+,du check for leading + or - 000007 0a 000016 6000 00 29 tze signed 000010 aa 055000 1160 03 30 cmpq =a-,du 000011 0a 000016 6000 00 31 tze signed 000012 aa 0 00100 3055 40 32 dtb (pr,rl),(pr) convert unsigned 000013 aa 200004 030005 33 desc9ns 2|token.string,al 000014 aa 300000 000004 34 desc9a 3|0,4 000015 aa 7 00044 7101 20 35 short_return 000016 36 signed: 000016 aa 0 00100 3055 40 37 dtb (pr,rl),(pr) convert signed 000017 aa 200004 010005 38 desc9ls 2|token.string,al 000020 aa 300000 000004 39 desc9a 3|0,4 000021 aa 7 00044 7101 20 40 short_return 41 end ENTRY SEQUENCES 000022 5a 000012 0000 00 000023 aa 7 00046 2721 20 000024 0a 000000 7100 00 NO LITERALS NAME DEFINITIONS FOR ENTRY POINTS AND SEGDEFS 000026 5a 000003 000000 000027 5a 000030 600000 000030 aa 000000 000000 000031 55 000012 000002 000032 5a 000002 400003 000033 55 000006 000012 000034 aa 017 164 157 153 000035 aa 145 156 137 164 000036 aa 157 137 142 151 000037 aa 156 141 162 171 000040 55 000021 000003 000041 0a 000023 500000 000042 55 000015 000003 000043 aa 017 164 157 153 token_to_binary 000044 aa 145 156 137 164 000045 aa 157 137 142 151 000046 aa 156 141 162 171 000047 55 000002 000012 000050 6a 000000 400002 000051 55 000024 000003 000052 aa 014 163 171 155 symbol_table 000053 aa 142 157 154 137 000054 aa 164 141 142 154 000055 aa 145 000 000 000 DEFINITIONS HASH TABLE 000056 aa 000000 000015 000057 aa 000000 000000 000060 aa 000000 000000 000061 aa 000000 000000 000062 5a 000012 000000 000063 aa 000000 000000 000064 aa 000000 000000 000065 5a 000021 000000 000066 aa 000000 000000 000067 aa 000000 000000 000070 aa 000000 000000 000071 aa 000000 000000 000072 aa 000000 000000 000073 aa 000000 000000 NO EXTERNAL NAMES NO TRAP POINTER WORDS TYPE PAIR BLOCKS 000074 aa 000001 000000 000075 aa 000000 000000 INTERNAL EXPRESSION WORDS LINKAGE INFORMATION 000000 aa 000000 000000 000001 0a 000026 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 131036 000007 aa 722210 714720 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 000142 000020 aa 000000 000115 000021 aa 000124 000121 000022 aa 000133 000115 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 123143 150162 000035 aa 157164 150056 000036 aa 123171 163115 000037 aa 141151 156164 000040 aa 056155 040040 000041 aa 040040 040040 000042 aa 040040 040040 000043 aa 040040 040040 000044 aa 154151 163164 000045 aa 040163 171155 000046 aa 142157 154163 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 000002 000066 aa 000076 000043 000067 aa 310157 127662 000070 aa 000000 131036 000071 aa 722211 400000 000072 aa 000107 000030 000073 aa 305736 051754 000074 aa 000000 101621 000075 aa 361723 400000 000076 aa 076165 144144 >udd>sm>ds>w>ml>token_to_binary.alm 000077 aa 076163 155076 000100 aa 144163 076167 000101 aa 076155 154076 000102 aa 164157 153145 000103 aa 156137 164157 000104 aa 137142 151156 000105 aa 141162 171056 000106 aa 141154 155040 000107 aa 076154 144144 >ldd>incl>token.incl.alm 000110 aa 076151 156143 000111 aa 154076 164157 000112 aa 153145 156056 000113 aa 151156 143154 000114 aa 056141 154155 MULTICS ASSEMBLY CROSS REFERENCE LISTING Value Symbol Source file Line number 16 signed token_to_binary: 29, 31, 36. 1 token.declaration token: 4. 0 token.loc token: 3. 2 token.next token: 5. 0 token.node_type token: 1. 3 token.size token_to_binary: 25, token: 6. 4 token.string token_to_binary: 26, 33, 38, token: 7. 0 token.type token: 2. 0 token_to_binary token_to_binary: 18, 21. 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