COMPILATION LISTING OF SEGMENT pl1_decat_bit_ Compiled by: Multics PL/I Compiler, Release 28d, of September 14, 1983 Compiled at: Honeywell LCPD Phoenix, System M Compiled on: 10/03/83 1441.3 mst Mon Options: optimize map 1 /* ****************************************************** 2* * * 3* * * 4* * Copyright (c) 1972 by Massachusetts Institute of * 5* * Technology and Honeywell Information Systems, Inc. * 6* * * 7* * * 8* ****************************************************** */ 9 10 pl1_decat_bit_: proc(s,c,t) returns(bit(*)); 11 12 declare (s,c) bit(*), 13 t bit(3), 14 (i,l) fixed bin(15), 15 (bin,index,length,substr) builtin; 16 17 l = length(c); 18 if l=0 19 then if substr(t,3,1) 20 then goto case(7); 21 else goto case(0); 22 23 i = index(s,c); 24 if i=0 25 then if substr(t,1,1) 26 then goto case(7); 27 else goto case(0); 28 29 goto case(bin(t)); 30 31 case(0): return(""b); 32 case(1): return(substr(s,i+l)); 33 case(2): return(c); 34 case(3): return(substr(s,i)); 35 case(4): return(substr(s,1,i-1)); 36 case(5): return(substr(s,1,i-1) || substr(s,i+l)); 37 case(6): return(substr(s,1,i+l-1)); 38 case(7): return(s); 39 40 end; SOURCE FILES USED IN THIS COMPILATION. LINE NUMBER DATE MODIFIED NAME PATHNAME 0 10/03/83 1006.0 pl1_decat_bit_.pl1 >spec>on>pl128d>pl1_decat_bit_.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. bin builtin function dcl 12 ref 29 c parameter bit unaligned dcl 12 ref 10 17 23 33 i 000100 automatic fixed bin(15,0) dcl 12 set ref 23* 24 32 34 35 36 36 37 index builtin function dcl 12 ref 23 l 000101 automatic fixed bin(15,0) dcl 12 set ref 17* 18 32 36 37 length builtin function dcl 12 ref 17 s parameter bit unaligned dcl 12 ref 10 23 32 34 35 36 36 37 38 substr builtin function dcl 12 ref 18 24 32 34 35 36 36 37 t parameter bit(3) unaligned dcl 12 ref 10 18 24 29 NAMES DECLARED BY EXPLICIT CONTEXT. case 000000 constant label array(0:7) dcl 31 ref 18 21 24 27 29 pl1_decat_bit_ 000020 constant entry external dcl 10 THERE WERE NO NAMES DECLARED BY CONTEXT OR IMPLICATION. STORAGE REQUIREMENTS FOR THIS PROGRAM. Object Text Link Symbol Defs Static Start 0 0 272 302 245 302 Length 446 245 10 127 25 0 BLOCK NAME STACK SIZE TYPE WHY NONQUICK/WHO SHARES STACK FRAME pl1_decat_bit_ 74 external procedure is an external procedure. STORAGE FOR AUTOMATIC VARIABLES. STACK FRAME LOC IDENTIFIER BLOCK NAME pl1_decat_bit_ 000100 i pl1_decat_bit_ 000101 l pl1_decat_bit_ THE FOLLOWING EXTERNAL OPERATORS ARE USED BY THIS PROGRAM. alloc_bs ext_entry_desc set_bs_eis index_bs_eis return_bits_eis NO EXTERNAL ENTRIES ARE CALLED BY THIS PROGRAM. NO EXTERNAL VARIABLES ARE USED BY THIS PROGRAM. LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC 10 000013 17 000040 18 000041 21 000051 23 000052 24 000062 27 000070 29 000071 31 000100 32 000107 33 000131 34 000140 35 000160 36 000171 37 000224 38 000236 ----------------------------------------------------------- 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