COMPILATION LISTING OF SEGMENT cobol_FP_ 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 1028.6 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_FP_.pl1 Reformatted code to new Cobol standard. 19* END HISTORY COMMENTS */ 20 21 22 /* format: style3 */ 23 cobol_FP_: 24 proc (p) returns (char (16) var); /* Format the contents of pointer "p". */ 25 S = O (fixed (s, 36)) || "|" || O (fixed (w, 36)); 26 if fixed (b, 36) > 0 27 then S = S || "(" || O (fixed (b, 36)) || ")"; 28 return ((S)); 29 30 dcl p ptr parameter, 31 1 ovlp aligned based (addr (p)), 32 2 s bit (18) unaligned, /* Segment number. */ 33 2 nu1 bit (12) unaligned, /* Not used. */ 34 2 its bit (6) unaligned, /* ITS. */ 35 2 w bit (18) unaligned, /* Word offset. */ 36 2 nu2 bit (2) unaligned, /* Not used. */ 37 2 b bit (7) unaligned, /* Bit offset. */ 38 2 nu3 bit (3) unaligned, /* Not used. */ 39 2 nu4 bit (6) unaligned, /* Not used. */ 40 S char (16) var, 41 addr builtin; 42 O: 43 proc (v) returns (char (16) var); /* Return v a octal numeric. */ 44 if v = 0 45 then R = "0"; 46 else do; 47 bz = 0; 48 lv = v; 49 R = ""; 50 do while (lv > 0); 51 unspec (c) = substr (bit ((mod (lv, 8) + bz), 9), 1, 9); 52 R = c || R; 53 lv = lv / 8; 54 end; 55 end; 56 return (R); 57 dcl v fixed bin parameter, 58 (lv, bz) fixed bin, 59 c char (1), 60 R char (16) var, 61 (mod, bit) builtin; 62 end O; 63 end cobol_FP_; SOURCE FILES USED IN THIS COMPILATION. LINE NUMBER DATE MODIFIED NAME PATHNAME 0 05/24/89 0837.3 cobol_FP_.pl1 >spec>install>MR12.3-1048>cobol_FP_.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. R 000117 automatic varying char(16) dcl 57 set ref 44* 49* 52* 52 56 S 000100 automatic varying char(16) dcl 30 set ref 25* 26* 26 28 addr builtin function dcl 30 ref 25 25 25 25 26 26 26 b 1(20) based bit(7) level 2 packed packed unaligned dcl 30 ref 26 26 26 bit builtin function dcl 57 ref 51 bz 000115 automatic fixed bin(17,0) dcl 57 set ref 47* 51 c 000116 automatic char(1) packed unaligned dcl 57 set ref 51* 52 lv 000114 automatic fixed bin(17,0) dcl 57 set ref 48* 50 51 53* 53 mod builtin function dcl 57 ref 51 ovlp based structure level 1 dcl 30 p parameter pointer dcl 30 set ref 23 25 25 25 25 26 26 26 s based bit(18) level 2 packed packed unaligned dcl 30 ref 25 25 v parameter fixed bin(17,0) dcl 57 ref 42 44 48 w 1 based bit(18) level 2 packed packed unaligned dcl 30 ref 25 25 NAMES DECLARED BY EXPLICIT CONTEXT. O 000154 constant entry internal dcl 42 ref 25 25 26 cobol_FP_ 000007 constant entry external dcl 23 NAMES DECLARED BY CONTEXT OR IMPLICATION. fixed builtin function ref 25 25 25 25 26 26 26 substr builtin function ref 51 unspec builtin function ref 51 STORAGE REQUIREMENTS FOR THIS PROGRAM. Object Text Link Symbol Defs Static Start 0 0 320 330 274 330 Length 470 274 10 124 24 0 BLOCK NAME STACK SIZE TYPE WHY NONQUICK/WHO SHARES STACK FRAME cobol_FP_ 101 external procedure is an external procedure. O internal procedure shares stack frame of external procedure cobol_FP_. STORAGE FOR AUTOMATIC VARIABLES. STACK FRAME LOC IDENTIFIER BLOCK NAME cobol_FP_ 000100 S cobol_FP_ 000114 lv O 000115 bz O 000116 c O 000117 R O THE FOLLOWING EXTERNAL OPERATORS ARE USED BY THIS PROGRAM. alloc_char_temp cat_realloc_chars return_mac mdfx1 shorten_stack ext_entry trunc_fx2 divide_fx1 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 23 000003 25 000014 26 000065 28 000143 42 000154 44 000156 47 000165 48 000166 49 000167 50 000170 51 000172 52 000204 53 000225 54 000235 56 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