COMPILATION LISTING OF SEGMENT cmpb_with_sixbit_offset Compiled by: Multics PL/I Compiler, Release 28d, of October 4, 1983 Compiled at: Honeywell Multics Op. - System M Compiled on: 10/22/84 1117.0 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 /* ****************************************************** 11* * * 12* * * 13* * Copyright, (C) Honeywell Information Systems * 14* * Inc., 1980. * 15* * * 16* * * 17* ****************************************************** */ 18 19 cmpb_with_sixbit_offset: proc (testcpu_tempsegp); 20 21 dcl test_pattern char (57) aligned static initial 22 ("ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿP"), 23 testcpu_tempsegp pointer, 24 from_ptr pointer, 25 to_ptr pointer, 26 len fixed bin (35), 27 out_of_bounds condition, 28 debug entry, 29 cmpbtest_alm ext entry (pointer, pointer, fixed bin (35)); 30 31 dcl mme1 condition, 32 ioa_ ext entry options (variable), 33 dump_seg_ ext entry (pointer, pointer, fixed bin, fixed bin, bit (6)), 34 iox_$user_output ext pointer, 35 hcs_$truncate_seg ext entry (pointer, fixed bin, fixed bin (35)); 36 37 dcl based_bits (1000) bit (1) unaligned based, 38 based_word fixed bin (35) aligned based; 39 40 dcl i fixed bin, 41 lowerbound fixed bin; 42 43 dcl based_pattern bit (510) based unaligned, 44 pattern_copy char (57) aligned; 45 46 lowerbound = binary (rel (testcpu_tempsegp)); /* in case it is a uniquenames seg in pdir */ 47 call hcs_$truncate_seg (testcpu_tempsegp, lowerbound, 0); 48 49 from_ptr = addr (test_pattern); 50 to_ptr = testcpu_tempsegp; 51 to_ptr -> based_word = 0; /* makes dump easier to read if we clean up this way */ 52 to_ptr = addr (to_ptr -> based_bits (7)); 53 54 on mme1 begin; 55 call ioa_ ("FAILURE on ^dth trial, at ^p.", i, to_ptr); 56 call dump_seg_ (iox_$user_output, to_ptr, 0, 16, "100001"b); 57 call ioa_ (""); 58 goto pass_test; 59 end; 60 61 on out_of_bounds begin; 62 call ioa_ ("oosb type $all for regs and .q to return"); 63 call debug (); 64 end; 65 do i = 1 to 10000; 66 67 call cmpbtest_alm (from_ptr, to_ptr, 510); 68 pass_test: 69 end; 70 71 call hcs_$truncate_seg (testcpu_tempsegp, lowerbound, 0); 72 73 74 end; SOURCE FILES USED IN THIS COMPILATION. LINE NUMBER DATE MODIFIED NAME PATHNAME 0 10/22/84 1101.1 cmpb_with_sixbit_offset.pl1 >spec>on>6978-10/22/84>cmpb_with_sixbit_offset.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. based_bits based bit(1) array unaligned dcl 37 set ref 52 based_word based fixed bin(35,0) dcl 37 set ref 51* cmpbtest_alm 000032 constant entry external dcl 21 ref 67 debug 000030 constant entry external dcl 21 ref 63 dump_seg_ 000036 constant entry external dcl 31 ref 56 from_ptr 000100 automatic pointer dcl 21 set ref 49* 67* hcs_$truncate_seg 000042 constant entry external dcl 31 ref 47 71 i 000120 automatic fixed bin(17,0) dcl 40 set ref 55* 65* ioa_ 000034 constant entry external dcl 31 ref 55 57 62 iox_$user_output 000040 external static pointer dcl 31 set ref 56* lowerbound 000121 automatic fixed bin(17,0) dcl 40 set ref 46* 47* 71* mme1 000112 stack reference condition dcl 31 ref 54 out_of_bounds 000104 stack reference condition dcl 21 ref 61 test_pattern 000010 internal static char(57) initial dcl 21 set ref 49 testcpu_tempsegp parameter pointer dcl 21 set ref 19 46 47* 50 71* to_ptr 000102 automatic pointer dcl 21 set ref 50* 51 52* 52 55* 56* 67* NAMES DECLARED BY DECLARE STATEMENT AND NEVER REFERENCED. based_pattern based bit(510) unaligned dcl 43 len automatic fixed bin(35,0) dcl 21 pattern_copy automatic char(57) dcl 43 NAMES DECLARED BY EXPLICIT CONTEXT. cmpb_with_sixbit_offset 000037 constant entry external dcl 19 pass_test 000262 constant label dcl 68 ref 58 NAMES DECLARED BY CONTEXT OR IMPLICATION. addr builtin function ref 49 52 binary builtin function ref 46 rel builtin function ref 46 STORAGE REQUIREMENTS FOR THIS PROGRAM. Object Text Link Symbol Defs Static Start 0 0 416 462 302 426 Length 646 302 44 150 113 20 BLOCK NAME STACK SIZE TYPE WHY NONQUICK/WHO SHARES STACK FRAME cmpb_with_sixbit_offset 92 external procedure is an external procedure. on unit on line 54 89 on unit on unit on line 61 80 on unit STORAGE FOR INTERNAL STATIC VARIABLES. LOC IDENTIFIER BLOCK NAME 000010 test_pattern cmpb_with_sixbit_offset STORAGE FOR AUTOMATIC VARIABLES. STACK FRAME LOC IDENTIFIER BLOCK NAME cmpb_with_sixbit_offset 000100 from_ptr cmpb_with_sixbit_offset 000102 to_ptr cmpb_with_sixbit_offset 000120 i cmpb_with_sixbit_offset 000121 lowerbound cmpb_with_sixbit_offset THE FOLLOWING EXTERNAL OPERATORS ARE USED BY THIS PROGRAM. call_ext_out_desc call_ext_out return tra_ext enable ext_entry int_entry THE FOLLOWING EXTERNAL ENTRIES ARE CALLED BY THIS PROGRAM. cmpbtest_alm debug dump_seg_ hcs_$truncate_seg ioa_ THE FOLLOWING EXTERNAL VARIABLES ARE USED BY THIS PROGRAM. iox_$user_output LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC 19 000034 46 000044 47 000052 49 000065 50 000070 51 000074 52 000075 54 000101 55 000115 56 000141 57 000166 58 000177 61 000202 62 000216 63 000231 64 000236 65 000237 67 000245 68 000262 71 000264 74 000301 ----------------------------------------------------------- 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