COMPILATION LISTING OF SEGMENT not_ascii_ Compiled by: Multics PL/I Compiler, Release 27d, of October 11, 1982 Compiled at: Honeywell LISD Phoenix, System M Compiled on: 11/04/82 1806.5 mst Thu Options: optimize map 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 11 not_ascii_: procedure(string, value); 12 13 declare string char(*) aligned, value bit(1) aligned; 14 declare (oct, i, lng) fixed bin; 15 declare p pointer; 16 declare 1 x aligned based(p), 17 2 y char(3) unaligned, 18 2 sym char(1) unaligned; 19 20 21 22 23 lng = length(string); 24 oct = 0; 25 p = addr(oct); 26 value = "1"b; /* preset to NOT ASCII */ 27 do i=1 to lng; 28 sym = substr(string, i, 1); /* get a character */ 29 if oct = 1000b then goto loop; /* backspace */ 30 if oct > 011111b then if oct < 1111011b then goto loop; /* acceptable ASCII characters */ 31 return; /* error return "NOT ASCII */ 32 loop: 33 end; 34 value = "0"b; /* OK return, YES ASCII */ 35 return; 36 37 end not_ascii_; SOURCE FILES USED IN THIS COMPILATION. LINE NUMBER DATE MODIFIED NAME PATHNAME 0 11/04/82 1608.8 not_ascii_.pl1 >dumps>old>recomp>not_ascii_.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. i 000101 automatic fixed bin(17,0) dcl 14 set ref 27* 28* lng 000102 automatic fixed bin(17,0) dcl 14 set ref 23* 27 oct 000100 automatic fixed bin(17,0) dcl 14 set ref 24* 25 29 30 30 p 000104 automatic pointer dcl 15 set ref 25* 28 string parameter char dcl 13 ref 11 23 28 sym 0(27) based char(1) level 2 packed unaligned dcl 16 set ref 28* value parameter bit(1) dcl 13 set ref 11 26* 34* x based structure level 1 dcl 16 NAMES DECLARED BY EXPLICIT CONTEXT. loop 000054 constant label dcl 32 ref 29 30 not_ascii_ 000006 constant entry external dcl 11 NAMES DECLARED BY CONTEXT OR IMPLICATION. addr builtin function ref 25 length builtin function ref 23 substr builtin function ref 28 STORAGE REQUIREMENTS FOR THIS PROGRAM. Object Text Link Symbol Defs Static Start 0 0 106 116 61 116 Length 254 61 10 122 24 0 BLOCK NAME STACK SIZE TYPE WHY NONQUICK/WHO SHARES STACK FRAME not_ascii_ 72 external procedure is an external procedure. STORAGE FOR AUTOMATIC VARIABLES. STACK FRAME LOC IDENTIFIER BLOCK NAME not_ascii_ 000100 oct not_ascii_ 000101 i not_ascii_ 000102 lng not_ascii_ 000104 p not_ascii_ THE FOLLOWING EXTERNAL OPERATORS ARE USED BY THIS PROGRAM. return ext_entry_desc 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 11 000002 23 000021 24 000022 25 000023 26 000025 27 000030 28 000036 29 000044 30 000047 31 000053 32 000054 34 000056 35 000060 ----------------------------------------------------------- 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