COMPILATION LISTING OF SEGMENT create_cross_reference Compiled by: Multics PL/I Compiler, Release 28d, of September 14, 1983 Compiled at: Honeywell LCPD Phoenix, System M Compiled on: 10/03/83 1603.6 mst Mon Options: optimize map 1 /* *********************************************************** 2* * * 3* * Copyright, (C) Honeywell Information Systems Inc., 1982 * 4* * * 5* *********************************************************** */ 6 7 /* ****************************************************** 8* * * 9* * * 10* * Copyright (c) 1972 by Massachusetts Institute of * 11* * Technology and Honeywell Information Systems, Inc. * 12* * * 13* * * 14* ****************************************************** */ 15 16 create_cross_reference: proc returns(ptr) ; 17 18 /* Modified on: April 1977 by RHS for new allocation methods */ 19 20 dcl p ptr, 21 null builtin; 22 dcl pl1_stat_$node_uses(32) fixed bin ext; 23 1 1 /* BEGIN INCLUDE FILE ... pl1_tree_areas.incl.pl1 */ 1 2 1 3 /* format: style3 */ 1 4 dcl tree_area area based (pl1_stat_$tree_area_ptr); 1 5 dcl xeq_tree_area area based (pl1_stat_$xeq_tree_area_ptr); 1 6 1 7 dcl pl1_stat_$tree_area_ptr 1 8 ptr ext static, 1 9 pl1_stat_$xeq_tree_area_ptr 1 10 ptr ext static; 1 11 1 12 /* END INCLUDE FILE ... op_codes.incl.pl1 */ 24 2 1 /* BEGIN INCLUDE FILE ... cross_reference.incl.pl1 */ 2 2 2 3 dcl 1 cross_reference based aligned, 2 4 2 node_type bit(9) unaligned, 2 5 2 source_id structure unaligned, 2 6 3 file_number bit(8), 2 7 3 line_number bit(14), 2 8 3 statement_number bit(5), 2 9 2 next ptr unaligned, 2 10 2 ref_type structure unaligned, 2 11 3 set_reference bit(1), 2 12 3 pad bit(35); 2 13 2 14 /* END INCLUDE FILE ... cross_reference.incl.pl1 */ 25 3 1 /* BEGIN INCLUDE FILE ... nodes.incl.pl1 */ 3 2 3 3 /* Modified: 26 Dec 1979 by PCK to implement by name assignment */ 3 4 3 5 dcl ( block_node initial("000000001"b), 3 6 statement_node initial("000000010"b), 3 7 operator_node initial("000000011"b), 3 8 reference_node initial("000000100"b), 3 9 token_node initial("000000101"b), 3 10 symbol_node initial("000000110"b), 3 11 context_node initial("000000111"b), 3 12 array_node initial("000001000"b), 3 13 bound_node initial("000001001"b), 3 14 format_value_node initial("000001010"b), 3 15 list_node initial("000001011"b), 3 16 default_node initial("000001100"b), 3 17 machine_state_node initial("000001101"b), 3 18 source_node initial("000001110"b), 3 19 label_node initial("000001111"b), 3 20 cross_reference_node initial("000010000"b), 3 21 sf_par_node initial("000010001"b), 3 22 temporary_node initial("000010010"b), 3 23 label_array_element_node initial("000010011"b), 3 24 by_name_agg_node initial("000010100"b)) 3 25 bit(9) internal static aligned options(constant); 3 26 3 27 dcl 1 node based aligned, 3 28 2 type unal bit(9), 3 29 2 source_id unal structure, 3 30 3 file_number bit(8), 3 31 3 line_number bit(14), 3 32 3 statement_number bit(5); 3 33 3 34 /* END INCLUDE FILE ... nodes.incl.pl1 */ 26 27 28 pl1_stat_$node_uses(16) = pl1_stat_$node_uses(16) + 1; 29 30 allocate cross_reference in(tree_area) set(p); 31 p -> node_type = cross_reference_node; 32 p -> next = null; 33 return(p); 34 35 end; SOURCE FILES USED IN THIS COMPILATION. LINE NUMBER DATE MODIFIED NAME PATHNAME 0 10/03/83 1007.2 create_cross_reference.pl1 >spec>on>pl128d>create_cross_reference.pl1 24 1 07/21/80 1546.3 pl1_tree_areas.incl.pl1 >ldd>include>pl1_tree_areas.incl.pl1 25 2 10/25/79 1645.8 cross_reference.incl.pl1 >ldd>include>cross_reference.incl.pl1 26 3 07/21/80 1546.3 nodes.incl.pl1 >ldd>include>nodes.incl.pl1 NAMES DECLARED IN THIS COMPILATION. IDENTIFIER OFFSET LOC STORAGE CLASS DATA TYPE ATTRIBUTES AND REFERENCES (* indicates a set context) NAMES DECLARED BY DECLARE STATEMENT. cross_reference based structure level 1 dcl 2-3 set ref 30 cross_reference_node constant bit(9) initial dcl 3-5 ref 31 next 1 based pointer level 2 packed unaligned dcl 2-3 set ref 32* node_type based bit(9) level 2 packed unaligned dcl 2-3 set ref 31* null builtin function dcl 20 ref 32 p 000100 automatic pointer dcl 20 set ref 30* 31 32 33 pl1_stat_$node_uses 000010 external static fixed bin(17,0) array dcl 22 set ref 28* 28 pl1_stat_$tree_area_ptr 000012 external static pointer dcl 1-7 ref 30 tree_area based area(1024) dcl 1-4 ref 30 NAMES DECLARED BY DECLARE STATEMENT AND NEVER REFERENCED. array_node internal static bit(9) initial dcl 3-5 block_node internal static bit(9) initial dcl 3-5 bound_node internal static bit(9) initial dcl 3-5 by_name_agg_node internal static bit(9) initial dcl 3-5 context_node internal static bit(9) initial dcl 3-5 default_node internal static bit(9) initial dcl 3-5 format_value_node internal static bit(9) initial dcl 3-5 label_array_element_node internal static bit(9) initial dcl 3-5 label_node internal static bit(9) initial dcl 3-5 list_node internal static bit(9) initial dcl 3-5 machine_state_node internal static bit(9) initial dcl 3-5 node based structure level 1 dcl 3-27 operator_node internal static bit(9) initial dcl 3-5 pl1_stat_$xeq_tree_area_ptr external static pointer dcl 1-7 reference_node internal static bit(9) initial dcl 3-5 sf_par_node internal static bit(9) initial dcl 3-5 source_node internal static bit(9) initial dcl 3-5 statement_node internal static bit(9) initial dcl 3-5 symbol_node internal static bit(9) initial dcl 3-5 temporary_node internal static bit(9) initial dcl 3-5 token_node internal static bit(9) initial dcl 3-5 xeq_tree_area based area(1024) dcl 1-5 NAME DECLARED BY EXPLICIT CONTEXT. create_cross_reference 000007 constant entry external dcl 16 THERE WERE NO NAMES DECLARED BY CONTEXT OR IMPLICATION. STORAGE REQUIREMENTS FOR THIS PROGRAM. Object Text Link Symbol Defs Static Start 0 0 104 120 35 114 Length 340 35 14 203 47 0 BLOCK NAME STACK SIZE TYPE WHY NONQUICK/WHO SHARES STACK FRAME create_cross_reference 66 external procedure is an external procedure. STORAGE FOR AUTOMATIC VARIABLES. STACK FRAME LOC IDENTIFIER BLOCK NAME create_cross_reference 000100 p create_cross_reference THE FOLLOWING EXTERNAL OPERATORS ARE USED BY THIS PROGRAM. return ext_entry alloc_based NO EXTERNAL ENTRIES ARE CALLED BY THIS PROGRAM. THE FOLLOWING EXTERNAL VARIABLES ARE USED BY THIS PROGRAM. pl1_stat_$node_uses pl1_stat_$tree_area_ptr LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC 16 000004 28 000014 30 000016 31 000025 32 000027 33 000031 ----------------------------------------------------------- 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