COMPILATION LISTING OF SEGMENT cobol_make_reg_token Compiled by: Multics PL/I Compiler, Release 31b, of April 24, 1989 Compiled at: Bull HN, Phoenix AZ, System-M Compiled on: 05/24/89 0946.0 mst Wed Options: optimize map 1 /****^ *********************************************************** 2* * * 3* * Copyright, (C) BULL HN Information Systems Inc., 1989 * 4* * * 5* * Copyright, (C) Honeywell Information Systems Inc., 1982 * 6* * * 7* * Copyright (c) 1972 by Massachusetts Institute of * 8* * Technology and Honeywell Information Systems, Inc. * 9* * * 10* *********************************************************** */ 11 12 13 14 15 /****^ HISTORY COMMENTS: 16* 1) change(89-04-23,Zimmerman), approve(89-04-23,MCR8060), 17* audit(89-05-05,RWaters), install(89-05-24,MR12.3-1048): 18* MCR8060 cobol_make_reg_token.pl1 Reformatted code to new Cobol standard. 19* END HISTORY COMMENTS */ 20 21 22 /* Renamed on 01/17/77 by ORN from cobol_make_register_token to cobol_make_reg_token */ 23 /* Modified on 01/14/77 by ORN to signal command_error rather than cobol_compiler_error */ 24 /* Modified since Version 2.0 */ 25 26 /*{*/ 27 /* format: style3 */ 28 cobol_make_reg_token: 29 proc (token_ptr, reg_no); 30 31 /* create a token (type 100) for registers */ 32 dcl token_ptr ptr; 33 dcl reg_no bit (4); /* 34* token_ptr is a pointer to the token (input/output) 35* (a) if not null the caller will provide the space 36* to hold the token. 37* (b) if null this utility will provide the space 38* and will return the address of the token 39* in this parameter. 40* reg_no is the register number (input) 41* "0001"b - A register. 42* "0010"b - Q register. 43* "0011"b - A and Q register. 44* "1nnn"b - index register nnn. 45* notes: 46* 1. The token will have the following description. 47* (a) A standard token header, (type of 100, size set, 48* and the remainder zeros). 49* 2. A field defined as bit (4). 50* 51**/ 52 /*}*/ 53 54 dcl 1 token_overflow static, 55 2 name char (32) init ("cobol_make_reg_token"), 56 2 message_len fixed bin (35) init (58), 57 2 message char (58) init ("The temporary token area has run over the end of a segment"); 58 dcl signal_ entry (char (*), ptr, ptr); 59 dcl 1 clear_token aligned based (cobol_type100_ptr), 60 2 clear_token_wd (token_wd_size) fixed bin; 61 dcl token_wd_size fixed bin init (5); /* size of token in words */ 62 dcl i fixed bin; 63 64 65 /*************************************/ 66 start: /* get space for token (if not provided) */ 67 if token_ptr = null () 68 then do; 69 if (binary (rel (cobol_$temp_token_ptr)) + token_wd_size) > 262143 70 then do; /* token will not fit in temp token area */ 71 call signal_ ("command_error", null (), addr (token_overflow)); 72 return; 73 end; 74 token_ptr = cobol_$temp_token_ptr; 75 cobol_$temp_token_ptr = addrel (cobol_$temp_token_ptr, token_wd_size); 76 end; 77 78 /* setup token */ 79 80 cobol_type100_ptr = token_ptr; /* clear token to zeros */ 81 do i = 1 to token_wd_size; 82 clear_token_wd (i) = 0; 83 end; 84 cobol_type100.type = 100; 85 cobol_type100.size = 4 * (token_wd_size); 86 cobol_type100.register = reg_no; 87 return; 88 89 /***** Declaration for builtin function *****/ 90 91 dcl (substr, mod, binary, fixed, addr, addrel, rel, length, string, unspec, null, index) 92 builtin; 93 94 /***** End of declaration for builtin function *****/ 95 1 1 1 2 /* BEGIN INCLUDE FILE ... cobol_type100.incl.pl1 */ 1 3 /* Last modified on 11/19/76 by ORN */ 1 4 1 5 /* 1 6*The internal register token is used only during the code generation phase. 1 7**/ 1 8 1 9 dcl cobol_type100_ptr ptr; 1 10 1 11 /* BEGIN DECLARATION OF TYPE100 (INTERNAL REGISTER) TOKEN */ 1 12 dcl 1 cobol_type100 based (cobol_type100_ptr) aligned, 1 13 /* header */ 1 14 2 size fixed bin (15), 1 15 2 line fixed bin (15), 1 16 2 column fixed bin (7), 1 17 2 type fixed bin (7), 1 18 /* body */ 1 19 2 register bit (4) unaligned; 1 20 /* END DECLARATION OF TYPE100 (INTERNAL REGISTER) TOKEN */ 1 21 1 22 /* 1 23*FIELD CONTENTS 1 24* 1 25*size The total size in bytes of this token. 1 26*line Generated sequence number of source line. 1 27* Always 0. 1 28*column The column number on the source image. 1 29* Always 0. 1 30*type 100 1 31*register The register number in the following form. 1 32* "0001"b - A register. 1 33* "0010"b - Q register. 1 34* "0011"b - A and Q registers. 1 35* "1nnn"b - index register nnn. 1 36**/ 1 37 1 38 /* END INCLUDE FILE ... cobol_type100.incl.pl1 */ 1 39 96 2 1 2 2 /* BEGIN INCLUDE FILE ... cobol_.incl.pl1 */ 2 3 /* last modified Feb 4, 1977 by ORN */ 2 4 2 5 /* This file defines all external data used in the generator phase of Multics Cobol */ 2 6 2 7 /* POINTERS */ 2 8 dcl cobol_$text_base_ptr ptr ext; 2 9 dcl text_base_ptr ptr defined (cobol_$text_base_ptr); 2 10 dcl cobol_$con_end_ptr ptr ext; 2 11 dcl con_end_ptr ptr defined (cobol_$con_end_ptr); 2 12 dcl cobol_$def_base_ptr ptr ext; 2 13 dcl def_base_ptr ptr defined (cobol_$def_base_ptr); 2 14 dcl cobol_$link_base_ptr ptr ext; 2 15 dcl link_base_ptr ptr defined (cobol_$link_base_ptr); 2 16 dcl cobol_$sym_base_ptr ptr ext; 2 17 dcl sym_base_ptr ptr defined (cobol_$sym_base_ptr); 2 18 dcl cobol_$reloc_text_base_ptr ptr ext; 2 19 dcl reloc_text_base_ptr ptr defined (cobol_$reloc_text_base_ptr); 2 20 dcl cobol_$reloc_def_base_ptr ptr ext; 2 21 dcl reloc_def_base_ptr ptr defined (cobol_$reloc_def_base_ptr); 2 22 dcl cobol_$reloc_link_base_ptr ptr ext; 2 23 dcl reloc_link_base_ptr ptr defined (cobol_$reloc_link_base_ptr); 2 24 dcl cobol_$reloc_sym_base_ptr ptr ext; 2 25 dcl reloc_sym_base_ptr ptr defined (cobol_$reloc_sym_base_ptr); 2 26 dcl cobol_$reloc_work_base_ptr ptr ext; 2 27 dcl reloc_work_base_ptr ptr defined (cobol_$reloc_work_base_ptr); 2 28 dcl cobol_$pd_map_ptr ptr ext; 2 29 dcl pd_map_ptr ptr defined (cobol_$pd_map_ptr); 2 30 dcl cobol_$fixup_ptr ptr ext; 2 31 dcl fixup_ptr ptr defined (cobol_$fixup_ptr); 2 32 dcl cobol_$initval_base_ptr ptr ext; 2 33 dcl initval_base_ptr ptr defined (cobol_$initval_base_ptr); 2 34 dcl cobol_$initval_file_ptr ptr ext; 2 35 dcl initval_file_ptr ptr defined (cobol_$initval_file_ptr); 2 36 dcl cobol_$perform_list_ptr ptr ext; 2 37 dcl perform_list_ptr ptr defined (cobol_$perform_list_ptr); 2 38 dcl cobol_$alter_list_ptr ptr ext; 2 39 dcl alter_list_ptr ptr defined (cobol_$alter_list_ptr); 2 40 dcl cobol_$seg_init_list_ptr ptr ext; 2 41 dcl seg_init_list_ptr ptr defined (cobol_$seg_init_list_ptr); 2 42 dcl cobol_$temp_token_area_ptr ptr ext; 2 43 dcl temp_token_area_ptr ptr defined (cobol_$temp_token_area_ptr); 2 44 dcl cobol_$temp_token_ptr ptr ext; 2 45 dcl temp_token_ptr ptr defined (cobol_$temp_token_ptr); 2 46 dcl cobol_$token_block1_ptr ptr ext; 2 47 dcl token_block1_ptr ptr defined (cobol_$token_block1_ptr); 2 48 dcl cobol_$token_block2_ptr ptr ext; 2 49 dcl token_block2_ptr ptr defined (cobol_$token_block2_ptr); 2 50 dcl cobol_$minpral5_ptr ptr ext; 2 51 dcl minpral5_ptr ptr defined (cobol_$minpral5_ptr); 2 52 dcl cobol_$tag_table_ptr ptr ext; 2 53 dcl tag_table_ptr ptr defined (cobol_$tag_table_ptr); 2 54 dcl cobol_$map_data_ptr ptr ext; 2 55 dcl map_data_ptr ptr defined (cobol_$map_data_ptr); 2 56 dcl cobol_$ptr_status_ptr ptr ext; 2 57 dcl ptr_status_ptr ptr defined (cobol_$ptr_status_ptr); 2 58 dcl cobol_$reg_status_ptr ptr ext; 2 59 dcl reg_status_ptr ptr defined (cobol_$reg_status_ptr); 2 60 dcl cobol_$misc_base_ptr ptr ext; 2 61 dcl misc_base_ptr ptr defined (cobol_$misc_base_ptr); 2 62 dcl cobol_$misc_end_ptr ptr ext; 2 63 dcl misc_end_ptr ptr defined (cobol_$misc_end_ptr); 2 64 dcl cobol_$list_ptr ptr ext; 2 65 dcl list_ptr ptr defined (cobol_$list_ptr); 2 66 dcl cobol_$allo1_ptr ptr ext; 2 67 dcl allo1_ptr ptr defined (cobol_$allo1_ptr); 2 68 dcl cobol_$eln_ptr ptr ext; 2 69 dcl eln_ptr ptr defined (cobol_$eln_ptr); 2 70 dcl cobol_$diag_ptr ptr ext; 2 71 dcl diag_ptr ptr defined (cobol_$diag_ptr); 2 72 dcl cobol_$xref_token_ptr ptr ext; 2 73 dcl xref_token_ptr ptr defined (cobol_$xref_token_ptr); 2 74 dcl cobol_$xref_chain_ptr ptr ext; 2 75 dcl xref_chain_ptr ptr defined (cobol_$xref_chain_ptr); 2 76 dcl cobol_$statement_info_ptr ptr ext; 2 77 dcl statement_info_ptr ptr defined (cobol_$statement_info_ptr); 2 78 dcl cobol_$reswd_ptr ptr ext; 2 79 dcl reswd_ptr ptr defined (cobol_$reswd_ptr); 2 80 dcl cobol_$op_con_ptr ptr ext; 2 81 dcl op_con_ptr ptr defined (cobol_$op_con_ptr); 2 82 dcl cobol_$ntbuf_ptr ptr ext; 2 83 dcl ntbuf_ptr ptr defined (cobol_$ntbuf_ptr); 2 84 dcl cobol_$main_pcs_ptr ptr ext; 2 85 dcl main_pcs_ptr ptr defined (cobol_$main_pcs_ptr); 2 86 dcl cobol_$include_info_ptr ptr ext; 2 87 dcl include_info_ptr ptr defined (cobol_$include_info_ptr); 2 88 2 89 /* FIXED BIN */ 2 90 dcl cobol_$text_wd_off fixed bin ext; 2 91 dcl text_wd_off fixed bin defined (cobol_$text_wd_off); 2 92 dcl cobol_$con_wd_off fixed bin ext; 2 93 dcl con_wd_off fixed bin defined (cobol_$con_wd_off); 2 94 dcl cobol_$def_wd_off fixed bin ext; 2 95 dcl def_wd_off fixed bin defined (cobol_$def_wd_off); 2 96 dcl cobol_$def_max fixed bin ext; 2 97 dcl def_max fixed bin defined (cobol_$def_max); 2 98 dcl cobol_$link_wd_off fixed bin ext; 2 99 dcl link_wd_off fixed bin defined (cobol_$link_wd_off); 2 100 dcl cobol_$link_max fixed bin ext; 2 101 dcl link_max fixed bin defined (cobol_$link_max); 2 102 dcl cobol_$sym_wd_off fixed bin ext; 2 103 dcl sym_wd_off fixed bin defined (cobol_$sym_wd_off); 2 104 dcl cobol_$sym_max fixed bin ext; 2 105 dcl sym_max fixed bin defined (cobol_$sym_max); 2 106 dcl cobol_$reloc_text_max fixed bin(24) ext; 2 107 dcl reloc_text_max fixed bin(24) defined (cobol_$reloc_text_max); 2 108 dcl cobol_$reloc_def_max fixed bin(24) ext; 2 109 dcl reloc_def_max fixed bin(24) defined (cobol_$reloc_def_max); 2 110 dcl cobol_$reloc_link_max fixed bin(24) ext; 2 111 dcl reloc_link_max fixed bin(24) defined (cobol_$reloc_link_max); 2 112 dcl cobol_$reloc_sym_max fixed bin(24) ext; 2 113 dcl reloc_sym_max fixed bin(24) defined (cobol_$reloc_sym_max); 2 114 dcl cobol_$reloc_work_max fixed bin(24) ext; 2 115 dcl reloc_work_max fixed bin(24) defined (cobol_$reloc_work_max); 2 116 dcl cobol_$pd_map_index fixed bin ext; 2 117 dcl pd_map_index fixed bin defined (cobol_$pd_map_index); 2 118 dcl cobol_$cobol_data_wd_off fixed bin ext; 2 119 dcl cobol_data_wd_off fixed bin defined (cobol_$cobol_data_wd_off); 2 120 dcl cobol_$stack_off fixed bin ext; 2 121 dcl stack_off fixed bin defined (cobol_$stack_off); 2 122 dcl cobol_$max_stack_off fixed bin ext; 2 123 dcl max_stack_off fixed bin defined (cobol_$max_stack_off); 2 124 dcl cobol_$init_stack_off fixed bin ext; 2 125 dcl init_stack_off fixed bin defined (cobol_$init_stack_off); 2 126 dcl cobol_$pd_map_sw fixed bin ext; 2 127 dcl pd_map_sw fixed bin defined (cobol_$pd_map_sw); 2 128 dcl cobol_$next_tag fixed bin ext; 2 129 dcl next_tag fixed bin defined (cobol_$next_tag); 2 130 dcl cobol_$data_init_flag fixed bin ext; 2 131 dcl data_init_flag fixed bin defined (cobol_$data_init_flag); 2 132 dcl cobol_$seg_init_flag fixed bin ext; 2 133 dcl seg_init_flag fixed bin defined (cobol_$seg_init_flag); 2 134 dcl cobol_$alter_flag fixed bin ext; 2 135 dcl alter_flag fixed bin defined (cobol_$alter_flag); 2 136 dcl cobol_$sect_eop_flag fixed bin ext; 2 137 dcl sect_eop_flag fixed bin defined (cobol_$sect_eop_flag); 2 138 dcl cobol_$para_eop_flag fixed bin ext; 2 139 dcl para_eop_flag fixed bin defined (cobol_$para_eop_flag); 2 140 dcl cobol_$priority_no fixed bin ext; 2 141 dcl priority_no fixed bin defined (cobol_$priority_no); 2 142 dcl cobol_$compile_count fixed bin ext; 2 143 dcl compile_count fixed bin defined (cobol_$compile_count); 2 144 dcl cobol_$ptr_assumption_ind fixed bin ext; 2 145 dcl ptr_assumption_ind fixed bin defined (cobol_$ptr_assumption_ind); 2 146 dcl cobol_$reg_assumption_ind fixed bin ext; 2 147 dcl reg_assumption_ind fixed bin defined (cobol_$reg_assumption_ind); 2 148 dcl cobol_$perform_para_index fixed bin ext; 2 149 dcl perform_para_index fixed bin defined (cobol_$perform_para_index); 2 150 dcl cobol_$perform_sect_index fixed bin ext; 2 151 dcl perform_sect_index fixed bin defined (cobol_$perform_sect_index); 2 152 dcl cobol_$alter_index fixed bin ext; 2 153 dcl alter_index fixed bin defined (cobol_$alter_index); 2 154 dcl cobol_$list_off fixed bin ext; 2 155 dcl list_off fixed bin defined (cobol_$list_off); 2 156 dcl cobol_$constant_offset fixed bin ext; 2 157 dcl constant_offset fixed bin defined (cobol_$constant_offset); 2 158 dcl cobol_$misc_max fixed bin ext; 2 159 dcl misc_max fixed bin defined (cobol_$misc_max); 2 160 dcl cobol_$pd_map_max fixed bin ext; 2 161 dcl pd_map_max fixed bin defined (cobol_$pd_map_max); 2 162 dcl cobol_$map_data_max fixed bin ext; 2 163 dcl map_data_max fixed bin defined (cobol_$map_data_max); 2 164 dcl cobol_$fixup_max fixed bin ext; 2 165 dcl fixup_max fixed bin defined (cobol_$fixup_max); 2 166 dcl cobol_$tag_table_max fixed bin ext; 2 167 dcl tag_table_max fixed bin defined (cobol_$tag_table_max); 2 168 dcl cobol_$temp_token_max fixed bin ext; 2 169 dcl temp_token_max fixed bin defined (cobol_$temp_token_max); 2 170 dcl cobol_$allo1_max fixed bin ext; 2 171 dcl allo1_max fixed bin defined (cobol_$allo1_max); 2 172 dcl cobol_$eln_max fixed bin ext; 2 173 dcl eln_max fixed bin defined (cobol_$eln_max); 2 174 dcl cobol_$debug_enable fixed bin ext; 2 175 dcl debug_enable fixed bin defined (cobol_$debug_enable); 2 176 dcl cobol_$non_source_offset fixed bin ext; 2 177 dcl non_source_offset fixed bin defined (cobol_$non_source_offset); 2 178 dcl cobol_$initval_flag fixed bin ext; 2 179 dcl initval_flag fixed bin defined (cobol_$initval_flag); 2 180 dcl cobol_$date_compiled_sw fixed bin ext; 2 181 dcl date_compiled_sw fixed bin defined (cobol_$date_compiled_sw); 2 182 dcl cobol_$include_cnt fixed bin ext; 2 183 dcl include_cnt fixed bin defined (cobol_$include_cnt); 2 184 dcl cobol_$fs_charcnt fixed bin ext; 2 185 dcl fs_charcnt fixed bin defined (cobol_$fs_charcnt); 2 186 dcl cobol_$ws_charcnt fixed bin ext; 2 187 dcl ws_charcnt fixed bin defined (cobol_$ws_charcnt); 2 188 dcl cobol_$coms_charcnt fixed bin ext; 2 189 dcl coms_charcnt fixed bin defined (cobol_$coms_charcnt); 2 190 dcl cobol_$ls_charcnt fixed bin ext; 2 191 dcl ls_charcnt fixed bin defined (cobol_$ls_charcnt); 2 192 dcl cobol_$cons_charcnt fixed bin ext; 2 193 dcl cons_charcnt fixed bin defined (cobol_$cons_charcnt); 2 194 dcl cobol_$value_cnt fixed bin ext; 2 195 dcl value_cnt fixed bin defined (cobol_$value_cnt); 2 196 dcl cobol_$cd_cnt fixed bin ext; 2 197 dcl cd_cnt fixed bin defined (cobol_$cd_cnt); 2 198 dcl cobol_$fs_wdoff fixed bin ext; 2 199 dcl fs_wdoff fixed bin defined (cobol_$fs_wdoff); 2 200 dcl cobol_$ws_wdoff fixed bin ext; 2 201 dcl ws_wdoff fixed bin defined (cobol_$ws_wdoff); 2 202 dcl cobol_$coms_wdoff fixed bin ext; 2 203 dcl coms_wdoff fixed bin defined (cobol_$coms_wdoff); 2 204 2 205 /* CHARACTER */ 2 206 dcl cobol_$scratch_dir char (168) aligned ext; 2 207 dcl scratch_dir char (168) aligned defined (cobol_$scratch_dir); /* -42- */ 2 208 dcl cobol_$obj_seg_name char (32) aligned ext; 2 209 dcl obj_seg_name char (32) aligned defined (cobol_$obj_seg_name); /* -8- */ 2 210 2 211 /* BIT */ 2 212 dcl cobol_$xref_bypass bit(1) aligned ext; 2 213 dcl xref_bypass bit(1) aligned defined (cobol_$xref_bypass); /* -1- */ 2 214 dcl cobol_$same_sort_merge_proc bit(1) aligned ext; 2 215 dcl same_sort_merge_proc bit(1) aligned defined (cobol_$same_sort_merge_proc); /* -1- */ 2 216 2 217 2 218 /* END INCLUDE FILE ... cobol_incl.pl1*/ 2 219 2 220 97 98 99 end cobol_make_reg_token; SOURCE FILES USED IN THIS COMPILATION. LINE NUMBER DATE MODIFIED NAME PATHNAME 0 05/24/89 0830.5 cobol_make_reg_token.pl1 >spec>install>MR12.3-1048>cobol_make_reg_token.pl1 96 1 03/27/82 0439.8 cobol_type100.incl.pl1 >ldd>include>cobol_type100.incl.pl1 97 2 11/11/82 1712.7 cobol_.incl.pl1 >ldd>include>cobol_.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. addr builtin function dcl 91 ref 71 71 addrel builtin function dcl 91 ref 75 binary builtin function dcl 91 ref 69 clear_token based structure level 1 dcl 59 clear_token_wd based fixed bin(17,0) array level 2 dcl 59 set ref 82* cobol_$temp_token_ptr 000042 external static pointer dcl 2-44 set ref 69 74 75* 75 cobol_type100 based structure level 1 dcl 1-12 cobol_type100_ptr 000102 automatic pointer dcl 1-9 set ref 80* 82 84 85 86 i 000101 automatic fixed bin(17,0) dcl 62 set ref 81* 82* null builtin function dcl 91 ref 66 71 71 reg_no parameter bit(4) packed unaligned dcl 33 ref 28 86 register 4 based bit(4) level 2 packed packed unaligned dcl 1-12 set ref 86* rel builtin function dcl 91 ref 69 signal_ 000040 constant entry external dcl 58 ref 71 size based fixed bin(15,0) level 2 dcl 1-12 set ref 85* token_overflow 000010 internal static structure level 1 unaligned dcl 54 set ref 71 71 token_ptr parameter pointer dcl 32 set ref 28 66 74* 80 token_wd_size 000100 automatic fixed bin(17,0) initial dcl 61 set ref 61* 69 75 81 85 type 3 based fixed bin(7,0) level 2 dcl 1-12 set ref 84* NAMES DECLARED BY DECLARE STATEMENT AND NEVER REFERENCED. allo1_max defined fixed bin(17,0) dcl 2-171 allo1_ptr defined pointer dcl 2-67 alter_flag defined fixed bin(17,0) dcl 2-135 alter_index defined fixed bin(17,0) dcl 2-153 alter_list_ptr defined pointer dcl 2-39 cd_cnt defined fixed bin(17,0) dcl 2-197 cobol_$allo1_max external static fixed bin(17,0) dcl 2-170 cobol_$allo1_ptr external static pointer dcl 2-66 cobol_$alter_flag external static fixed bin(17,0) dcl 2-134 cobol_$alter_index external static fixed bin(17,0) dcl 2-152 cobol_$alter_list_ptr external static pointer dcl 2-38 cobol_$cd_cnt external static fixed bin(17,0) dcl 2-196 cobol_$cobol_data_wd_off external static fixed bin(17,0) dcl 2-118 cobol_$compile_count external static fixed bin(17,0) dcl 2-142 cobol_$coms_charcnt external static fixed bin(17,0) dcl 2-188 cobol_$coms_wdoff external static fixed bin(17,0) dcl 2-202 cobol_$con_end_ptr external static pointer dcl 2-10 cobol_$con_wd_off external static fixed bin(17,0) dcl 2-92 cobol_$cons_charcnt external static fixed bin(17,0) dcl 2-192 cobol_$constant_offset external static fixed bin(17,0) dcl 2-156 cobol_$data_init_flag external static fixed bin(17,0) dcl 2-130 cobol_$date_compiled_sw external static fixed bin(17,0) dcl 2-180 cobol_$debug_enable external static fixed bin(17,0) dcl 2-174 cobol_$def_base_ptr external static pointer dcl 2-12 cobol_$def_max external static fixed bin(17,0) dcl 2-96 cobol_$def_wd_off external static fixed bin(17,0) dcl 2-94 cobol_$diag_ptr external static pointer dcl 2-70 cobol_$eln_max external static fixed bin(17,0) dcl 2-172 cobol_$eln_ptr external static pointer dcl 2-68 cobol_$fixup_max external static fixed bin(17,0) dcl 2-164 cobol_$fixup_ptr external static pointer dcl 2-30 cobol_$fs_charcnt external static fixed bin(17,0) dcl 2-184 cobol_$fs_wdoff external static fixed bin(17,0) dcl 2-198 cobol_$include_cnt external static fixed bin(17,0) dcl 2-182 cobol_$include_info_ptr external static pointer dcl 2-86 cobol_$init_stack_off external static fixed bin(17,0) dcl 2-124 cobol_$initval_base_ptr external static pointer dcl 2-32 cobol_$initval_file_ptr external static pointer dcl 2-34 cobol_$initval_flag external static fixed bin(17,0) dcl 2-178 cobol_$link_base_ptr external static pointer dcl 2-14 cobol_$link_max external static fixed bin(17,0) dcl 2-100 cobol_$link_wd_off external static fixed bin(17,0) dcl 2-98 cobol_$list_off external static fixed bin(17,0) dcl 2-154 cobol_$list_ptr external static pointer dcl 2-64 cobol_$ls_charcnt external static fixed bin(17,0) dcl 2-190 cobol_$main_pcs_ptr external static pointer dcl 2-84 cobol_$map_data_max external static fixed bin(17,0) dcl 2-162 cobol_$map_data_ptr external static pointer dcl 2-54 cobol_$max_stack_off external static fixed bin(17,0) dcl 2-122 cobol_$minpral5_ptr external static pointer dcl 2-50 cobol_$misc_base_ptr external static pointer dcl 2-60 cobol_$misc_end_ptr external static pointer dcl 2-62 cobol_$misc_max external static fixed bin(17,0) dcl 2-158 cobol_$next_tag external static fixed bin(17,0) dcl 2-128 cobol_$non_source_offset external static fixed bin(17,0) dcl 2-176 cobol_$ntbuf_ptr external static pointer dcl 2-82 cobol_$obj_seg_name external static char(32) dcl 2-208 cobol_$op_con_ptr external static pointer dcl 2-80 cobol_$para_eop_flag external static fixed bin(17,0) dcl 2-138 cobol_$pd_map_index external static fixed bin(17,0) dcl 2-116 cobol_$pd_map_max external static fixed bin(17,0) dcl 2-160 cobol_$pd_map_ptr external static pointer dcl 2-28 cobol_$pd_map_sw external static fixed bin(17,0) dcl 2-126 cobol_$perform_list_ptr external static pointer dcl 2-36 cobol_$perform_para_index external static fixed bin(17,0) dcl 2-148 cobol_$perform_sect_index external static fixed bin(17,0) dcl 2-150 cobol_$priority_no external static fixed bin(17,0) dcl 2-140 cobol_$ptr_assumption_ind external static fixed bin(17,0) dcl 2-144 cobol_$ptr_status_ptr external static pointer dcl 2-56 cobol_$reg_assumption_ind external static fixed bin(17,0) dcl 2-146 cobol_$reg_status_ptr external static pointer dcl 2-58 cobol_$reloc_def_base_ptr external static pointer dcl 2-20 cobol_$reloc_def_max external static fixed bin(24,0) dcl 2-108 cobol_$reloc_link_base_ptr external static pointer dcl 2-22 cobol_$reloc_link_max external static fixed bin(24,0) dcl 2-110 cobol_$reloc_sym_base_ptr external static pointer dcl 2-24 cobol_$reloc_sym_max external static fixed bin(24,0) dcl 2-112 cobol_$reloc_text_base_ptr external static pointer dcl 2-18 cobol_$reloc_text_max external static fixed bin(24,0) dcl 2-106 cobol_$reloc_work_base_ptr external static pointer dcl 2-26 cobol_$reloc_work_max external static fixed bin(24,0) dcl 2-114 cobol_$reswd_ptr external static pointer dcl 2-78 cobol_$same_sort_merge_proc external static bit(1) dcl 2-214 cobol_$scratch_dir external static char(168) dcl 2-206 cobol_$sect_eop_flag external static fixed bin(17,0) dcl 2-136 cobol_$seg_init_flag external static fixed bin(17,0) dcl 2-132 cobol_$seg_init_list_ptr external static pointer dcl 2-40 cobol_$stack_off external static fixed bin(17,0) dcl 2-120 cobol_$statement_info_ptr external static pointer dcl 2-76 cobol_$sym_base_ptr external static pointer dcl 2-16 cobol_$sym_max external static fixed bin(17,0) dcl 2-104 cobol_$sym_wd_off external static fixed bin(17,0) dcl 2-102 cobol_$tag_table_max external static fixed bin(17,0) dcl 2-166 cobol_$tag_table_ptr external static pointer dcl 2-52 cobol_$temp_token_area_ptr external static pointer dcl 2-42 cobol_$temp_token_max external static fixed bin(17,0) dcl 2-168 cobol_$text_base_ptr external static pointer dcl 2-8 cobol_$text_wd_off external static fixed bin(17,0) dcl 2-90 cobol_$token_block1_ptr external static pointer dcl 2-46 cobol_$token_block2_ptr external static pointer dcl 2-48 cobol_$value_cnt external static fixed bin(17,0) dcl 2-194 cobol_$ws_charcnt external static fixed bin(17,0) dcl 2-186 cobol_$ws_wdoff external static fixed bin(17,0) dcl 2-200 cobol_$xref_bypass external static bit(1) dcl 2-212 cobol_$xref_chain_ptr external static pointer dcl 2-74 cobol_$xref_token_ptr external static pointer dcl 2-72 cobol_data_wd_off defined fixed bin(17,0) dcl 2-119 compile_count defined fixed bin(17,0) dcl 2-143 coms_charcnt defined fixed bin(17,0) dcl 2-189 coms_wdoff defined fixed bin(17,0) dcl 2-203 con_end_ptr defined pointer dcl 2-11 con_wd_off defined fixed bin(17,0) dcl 2-93 cons_charcnt defined fixed bin(17,0) dcl 2-193 constant_offset defined fixed bin(17,0) dcl 2-157 data_init_flag defined fixed bin(17,0) dcl 2-131 date_compiled_sw defined fixed bin(17,0) dcl 2-181 debug_enable defined fixed bin(17,0) dcl 2-175 def_base_ptr defined pointer dcl 2-13 def_max defined fixed bin(17,0) dcl 2-97 def_wd_off defined fixed bin(17,0) dcl 2-95 diag_ptr defined pointer dcl 2-71 eln_max defined fixed bin(17,0) dcl 2-173 eln_ptr defined pointer dcl 2-69 fixed builtin function dcl 91 fixup_max defined fixed bin(17,0) dcl 2-165 fixup_ptr defined pointer dcl 2-31 fs_charcnt defined fixed bin(17,0) dcl 2-185 fs_wdoff defined fixed bin(17,0) dcl 2-199 include_cnt defined fixed bin(17,0) dcl 2-183 include_info_ptr defined pointer dcl 2-87 index builtin function dcl 91 init_stack_off defined fixed bin(17,0) dcl 2-125 initval_base_ptr defined pointer dcl 2-33 initval_file_ptr defined pointer dcl 2-35 initval_flag defined fixed bin(17,0) dcl 2-179 length builtin function dcl 91 link_base_ptr defined pointer dcl 2-15 link_max defined fixed bin(17,0) dcl 2-101 link_wd_off defined fixed bin(17,0) dcl 2-99 list_off defined fixed bin(17,0) dcl 2-155 list_ptr defined pointer dcl 2-65 ls_charcnt defined fixed bin(17,0) dcl 2-191 main_pcs_ptr defined pointer dcl 2-85 map_data_max defined fixed bin(17,0) dcl 2-163 map_data_ptr defined pointer dcl 2-55 max_stack_off defined fixed bin(17,0) dcl 2-123 minpral5_ptr defined pointer dcl 2-51 misc_base_ptr defined pointer dcl 2-61 misc_end_ptr defined pointer dcl 2-63 misc_max defined fixed bin(17,0) dcl 2-159 mod builtin function dcl 91 next_tag defined fixed bin(17,0) dcl 2-129 non_source_offset defined fixed bin(17,0) dcl 2-177 ntbuf_ptr defined pointer dcl 2-83 obj_seg_name defined char(32) dcl 2-209 op_con_ptr defined pointer dcl 2-81 para_eop_flag defined fixed bin(17,0) dcl 2-139 pd_map_index defined fixed bin(17,0) dcl 2-117 pd_map_max defined fixed bin(17,0) dcl 2-161 pd_map_ptr defined pointer dcl 2-29 pd_map_sw defined fixed bin(17,0) dcl 2-127 perform_list_ptr defined pointer dcl 2-37 perform_para_index defined fixed bin(17,0) dcl 2-149 perform_sect_index defined fixed bin(17,0) dcl 2-151 priority_no defined fixed bin(17,0) dcl 2-141 ptr_assumption_ind defined fixed bin(17,0) dcl 2-145 ptr_status_ptr defined pointer dcl 2-57 reg_assumption_ind defined fixed bin(17,0) dcl 2-147 reg_status_ptr defined pointer dcl 2-59 reloc_def_base_ptr defined pointer dcl 2-21 reloc_def_max defined fixed bin(24,0) dcl 2-109 reloc_link_base_ptr defined pointer dcl 2-23 reloc_link_max defined fixed bin(24,0) dcl 2-111 reloc_sym_base_ptr defined pointer dcl 2-25 reloc_sym_max defined fixed bin(24,0) dcl 2-113 reloc_text_base_ptr defined pointer dcl 2-19 reloc_text_max defined fixed bin(24,0) dcl 2-107 reloc_work_base_ptr defined pointer dcl 2-27 reloc_work_max defined fixed bin(24,0) dcl 2-115 reswd_ptr defined pointer dcl 2-79 same_sort_merge_proc defined bit(1) dcl 2-215 scratch_dir defined char(168) dcl 2-207 sect_eop_flag defined fixed bin(17,0) dcl 2-137 seg_init_flag defined fixed bin(17,0) dcl 2-133 seg_init_list_ptr defined pointer dcl 2-41 stack_off defined fixed bin(17,0) dcl 2-121 statement_info_ptr defined pointer dcl 2-77 string builtin function dcl 91 substr builtin function dcl 91 sym_base_ptr defined pointer dcl 2-17 sym_max defined fixed bin(17,0) dcl 2-105 sym_wd_off defined fixed bin(17,0) dcl 2-103 tag_table_max defined fixed bin(17,0) dcl 2-167 tag_table_ptr defined pointer dcl 2-53 temp_token_area_ptr defined pointer dcl 2-43 temp_token_max defined fixed bin(17,0) dcl 2-169 temp_token_ptr defined pointer dcl 2-45 text_base_ptr defined pointer dcl 2-9 text_wd_off defined fixed bin(17,0) dcl 2-91 token_block1_ptr defined pointer dcl 2-47 token_block2_ptr defined pointer dcl 2-49 unspec builtin function dcl 91 value_cnt defined fixed bin(17,0) dcl 2-195 ws_charcnt defined fixed bin(17,0) dcl 2-187 ws_wdoff defined fixed bin(17,0) dcl 2-201 xref_bypass defined bit(1) dcl 2-213 xref_chain_ptr defined pointer dcl 2-75 xref_token_ptr defined pointer dcl 2-73 NAMES DECLARED BY EXPLICIT CONTEXT. cobol_make_reg_token 000016 constant entry external dcl 28 start 000025 constant label dcl 66 THERE WERE NO NAMES DECLARED BY CONTEXT OR IMPLICATION. STORAGE REQUIREMENTS FOR THIS PROGRAM. Object Text Link Symbol Defs Static Start 0 0 202 246 135 212 Length 450 135 44 166 45 30 BLOCK NAME STACK SIZE TYPE WHY NONQUICK/WHO SHARES STACK FRAME cobol_make_reg_token 92 external procedure is an external procedure. STORAGE FOR INTERNAL STATIC VARIABLES. LOC IDENTIFIER BLOCK NAME 000010 token_overflow cobol_make_reg_token STORAGE FOR AUTOMATIC VARIABLES. STACK FRAME LOC IDENTIFIER BLOCK NAME cobol_make_reg_token 000100 token_wd_size cobol_make_reg_token 000101 i cobol_make_reg_token 000102 cobol_type100_ptr cobol_make_reg_token THE FOLLOWING EXTERNAL OPERATORS ARE USED BY THIS PROGRAM. call_ext_out_desc return_mac ext_entry THE FOLLOWING EXTERNAL ENTRIES ARE CALLED BY THIS PROGRAM. signal_ THE FOLLOWING EXTERNAL VARIABLES ARE USED BY THIS PROGRAM. cobol_$temp_token_ptr LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC 28 000012 61 000023 66 000025 69 000032 71 000044 72 000073 74 000074 75 000075 80 000102 81 000105 82 000115 83 000117 84 000121 85 000124 86 000127 87 000134 ----------------------------------------------------------- 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