ASSEMBLY LISTING OF SEGMENT >spec>on>41-16>forum_chairman_.alm ASSEMBLED ON: 04/11/85 1133.9 mst Thu OPTIONS USED: list ASSEMBLED BY: ALM Version 6.6 November 1982 ASSEMBLER CREATED: 09/21/83 1227.3 mst Wed  1 " ***************************************************************  2 " * *  3 " * *  4 " * Copyright (c) 1982 by Massachusetts Institute of Technology *  5 " * *  6 " * *  7 " ***************************************************************  8  9 " contains subroutine entries for forum meeting chairman functions 10 " Jay Pattin 4/28/82  11  000000 12 name forum_chairman_  13  14 include gate_macros  1-1 " BEGIN INCLUDE FILE ...... gate_macros.incl.alm  1-2 " Last modified 6/77 by N. Morris, B. Greenberg, & T. VanVleck  1-3 " Modified 741212 by PG to inhibit while computing virtual CPU time  1-4 " Modified 83-03-14 by E. N. Kittlitz to clear IR 1-5 " Modified 83-06-01 BIM for ring alarm polling  1-6 " Modified 85-04-03 by Keith Loepere to make polling a little smarter.  1-7  1-8 " This file contains several macros used when generating gate segments. 1-9 " The major macros that are defined are:  1-10 "  1-11 " gate_info general setup code for normal gates  1-12 " hardcore_gate_info general setup code for hardcore gates  1-13 " bad_dir_handler setup and handler for bad_dir_ condition (goes at bottom) 1-14 " bad_dir_handler_entry entrypoint for above (goes at top)  1-15 " gate to define a normal gate 1-16 " hgate to define a hardcore gate  1-17 " fgate to define a fast hardcore gate 1-18 "  1-19  1-20  000000 1-21 maclist off  1-22  1-23  1-24 " HGATE - define a hardcore gate entry  1-25 "  1-26 " hgate gatename,procedure,entry,args{,bad_dir_trap}  1-27 "  1-28 " The entrypoint gatename is defined in the gate segment. If args  1-29 " is nonzero, the number of arguments passed to gatename must be  1-30 " equal to args. When gatename is called, it will in turn call 1-31 " procedure$entry.  1-32 "  1-33  1-34 macro hgate 1 1-35 gentry &1,&4*2,&1.t  2 1-36 tsx2 .setup  3 1-37 &=&5,bad_dir_trap&[ tsx0 .set_dir_trap  4 1-38 &] ldi =0,dl  5 1-39 short_call &2$&3(ap|0) 6 1-40 eppbp lp|&1.t  7 1-41 tra .return_code  8 1-42 maclist restore  9 1-43 use linkage  10 1-44 even  11 1-45 maclist on,save  12 1-46 &1.t:  13 1-47 bss ,gate_entry_data_size  14 1-48  15 1-49 maclist restore  16 1-50 &end  1-51  1-52  1-53 " FGATE - define a fast hardcore gate  1-54 "  1-55 " fgate gatename,procedure,entry  1-56 "  1-57  1-58 macro fgate 1 1-59 gentry &1,0,0  2 1-60 ldi =0,dl  3 1-61 epplp .my_lp,* 4 1-62 tra &2$&3  5 1-63  6 1-64 maclist off  7 1-65 &end  1-66  1-67  1-68 " GATE - define a normal gate entry 1-69 "  1-70 " gate gatename,procedure,entry,args  1-71 "  1-72  1-73 macro gate  1 1-74 gentry &1,&4*2,0  2 1-75 tsx2 .setup  3 1-76 ldi =0,dl  4 1-77 short_call &2$&3(ap|0) 5 1-78 return 6 1-79  7 1-80 maclist restore  8 1-81 &end  1-82  1-83  1-84  1-85 macro gentry  1 1-86 maclist on,save  2 1-87 segdef &1  3 1-88 maclist restore  4 1-89 use transfer_vector  5 1-90 maclist on,save  6 1-91 &1: 7 1-92 tra &1.e  8 1-93 maclist restore  9 1-94 use main  10 1-95 maclist on,save  11 1-96 zero &2,&3 12 1-97 &1.e:  13 1-98 &end  1-99  1-100  1-101 " HARDCORE_GATE_INFO - general info for hardcore gates  1-102  1-103 macro hardcore_gate_info  1 1-104 maclist on,save  2 1-105 name &1  3 1-106  4 1-107 include stack_header  5 1-108  6 1-109 include stack_frame  7 1-110 include gate_data  8 1-111  9 1-112 maclist restore  10 1-113 eject  11 1-114  12 1-115 tempd .temp  13 1-116 tempd .label_variable(0)  14 1-117 tempd .time1,.time2  15 1-118 tempd .unwinder_arglist(0) 16 1-119 tempd .on_unit(5)  17 1-120 temp .pf,.entryp  18 1-121 tempd .vfl_arglist(2)  19 1-122 tempd .mcptr  20 1-123  21 1-124 use transfer_vector  22 1-125 equ .tv_begin,*  23 1-126  24 1-127 tra .actor 25 1-128  26 1-129 use tv_end 27 1-130 entrybound 28 1-131  29 1-132 segdef .tv_end 30 1-133 .tv_end: vfd 14/(*-.tv_begin)  31 1-134  32 1-135 use main  33 1-136  34 1-137 segdef .my_lp  35 1-138 even  36 1-139 .my_lp: bss ,2  37 1-140  38 1-141 join /text/transfer_vector,tv_end,main 39 1-142  40 1-143 use linkage  41 1-144 join /link/linkage 42 1-145  43 1-146 use main  44 1-147  45 1-148 maclist restore  46 1-149 eject  47 1-150  48 1-151 .actor: epplp .my_lp,*  49 1-152 maclist restore  50 1-153 gate_actor 51 1-154  52 1-155  53 1-156  54 1-157 .setup: push  55 1-158 epplp .my_lp,* 56 1-159 sprilp sp|stack_frame.lp_ptr  57 1-160  58 1-161 maclist restore  59 1-162 gcheck 60 1-163  61 1-164 inhibit on <+><+><+><+><+><+><+><+><+><+><+><+>  62 1-165 rccl sys_info$clock_,* calculate times 63 1-166 sbaq pds$cpu_time  64 1-167 staq .time1  65 1-168 sbaq pds$virtual_delta 66 1-169 staq .time2  67 1-170 lda pds$page_waits 68 1-171 sta .pf  69 1-172 inhibit off <-><-><-><-><-><-><-><-><-><-><-><->  70 1-173 tra 0,2  71 1-174  72 1-175 maclist restore  73 1-176 eject  74 1-177  75 1-178 .return_code:  76 1-179  77 1-180 inhibit on <+><+><+><+><+><+><+><+><+><+><+><+>  78 1-181 rccl sys_info$clock_,* calculate times 79 1-182 sbaq pds$cpu_time  80 1-183 staq .temp 81 1-184 sbaq .time1  82 1-185 adaq bp|gate_entry_data.cpu_time  83 1-186 staq bp|gate_entry_data.cpu_time  84 1-187 ldaq .temp 85 1-188 sbaq pds$virtual_delta 86 1-189 sbaq .time2  87 1-190 adaq bp|gate_entry_data.vcpu_time  88 1-191 staq bp|gate_entry_data.vcpu_time  89 1-192 lda pds$page_waits 90 1-193 sbla .pf  91 1-194 asa bp|gate_entry_data.page_waits  92 1-195 aos bp|gate_entry_data.calls  93 1-196 inhibit off <-><-><-><-><-><-><-><-><-><-><-><->  94 1-197  95 1-198 " Poll for ring alarms  96 1-199 sra .temp Borrow from time calc  97 1-200 szn .temp Zero?  98 1-201 tze .return_code_return  99 1-202  100 1-203 epp1 sp|stack_frame.prev_sp,* "possible ring alarm 101 1-204 epaq pr1|stack_frame.return_ptr,*  102 1-205 ana 7,dl " ring number to which we return  103 1-206 cmpa .temp 104 1-207 tpl .ring_alarm " ring alarm will occur  105 1-208  106 1-209 .return_code_return:  107 1-210 return 108 1-211  109 1-212 .ring_alarm: " perhaps we can handle without faults?  110 1-213  111 1-214 aos bp|gate_entry_data.ring_alarms 112 1-215 stz .temp " return argument for ring_alarm$poll  113 1-216 ldaq .one_arg_header  114 1-217 staq .ring_alarm_arg_list  115 1-218 epp1 .temp 116 1-219 spri1 .ring_alarm_arg_list+2  117 1-220 eppap .ring_alarm_arg_list 118 1-221 short_call ring_alarm$poll 119 1-222 szn .temp  120 1-223 tze .return_code_return  121 1-224 eppsp sp|stack_frame.prev_sp,* 122 1-225 sprisp pds$pre_empt_poll_return " short-return from here  123 1-226 epp1 sb|stack_header.stack_begin_ptr,* " abandoning this stack frame.  124 1-227 spri1 sb|stack_header.stack_end_ptr  125 1-228 " Leave SB as stack_0, so pxss can get to operators.  126 1-229 tra pxss$pre_empt_poll 127 1-230  128 1-231 tempd .ring_alarm_arg_list(2)  129 1-232 even  130 1-233 .one_arg_header:  131 1-234 vfd 17/2,1/0,18/4  132 1-235 vfd 18/0,18/0  133 1-236  134 1-237  135 1-238 maclist restore  136 1-239 eject  137 1-240 maclist restore  138 1-241 &end  1-242  1-243  1-244 " BAD_DIR_HANDLER - code to setup and handle bad_dir_ condition 1-245 " put this after the last hgate macro 1-246  1-247 macro bad_dir_handler  1 1-248 maclist on,save  2 1-249  3 1-250 include on_unit  4 1-251  5 1-252 use transfer_vector  6 1-253 .handler_entry: 7 1-254 tra .handler  8 1-255 .handler_restart_entry: 9 1-256 tra .handler_restart_point 10 1-257  11 1-258 use main  12 1-259 .set_dir_trap:  13 1-260 stx0 .entryp save for restart 14 1-261  15 1-262 mlr (),(pr),fill(000)  16 1-263 desc9a 0,0 17 1-264 desc9a .on_unit,10*4  18 1-265 eppbp .bad_dir_name  19 1-266 spribp .on_unit+on_unit.name  20 1-267 eppbp .handler_entry  21 1-268 spribp .on_unit+on_unit.body  22 1-269 lxl1 .bad_dir_desc 23 1-270 sxl1 .on_unit+on_unit.size 24 1-271 eaa .on_unit set up on-unit for bad_dir_  25 1-272 sbla sp|0,du .. make rel to sp  26 1-273 sta sp|stack_frame.on_unit_rel_ptrs  27 1-274 lda stack_frame.condition_bit,dl  28 1-275 orsa sp|stack_frame.flag_word  29 1-276 tra 0,0  30 1-277  31 1-278 string bad_dir_  32 1-279  33 1-280  34 1-281  35 1-282 .handler: epaq sp|0 verify that call came from ring 0  36 1-283 cana -1,dl check ring number in AL  37 1-284 tze *+2  38 1-285 zero 0 go way kid you bother me  39 1-286  40 1-287 push " ok, we like the call  41 1-288 epplp .my_lp,* 42 1-289 ldx0 ap|0 get display 43 1-290 eppbp ap|2,0*  44 1-291 lda bp|stack_frame.prev_sp 45 1-292 cana =o700000,dl from another ring?  46 1-293 tze .continue_signal if not, back to signal_  47 1-294 eppap ap|2,* Get mcptr  48 1-295 eppap ap|0,* ..  49 1-296 spriap bp|.mcptr .. save in gate frame  50 1-297 spribp .label_variable+2  51 1-298 eppbp .handler_restart_entry  52 1-299 spribp .label_variable 53 1-300 eppbp .label_variable  54 1-301 spribp .unwinder_arglist+2 55 1-302 fld =1b24,dl  56 1-303 staq .unwinder_arglist 57 1-304 call unwinder_$unwinder_(.unwinder_arglist)  58 1-305  59 1-306 .continue_signal:  60 1-307 lda =o400000,du "1"b  61 1-308 sta ap|10,* set continue bit  62 1-309 return 63 1-310  64 1-311 .handler_restart_point: 65 1-312 epaq sp|0 check that call came from ring 0  66 1-313 cana -1,dl 67 1-314 tze *+2  68 1-315 zero 1 69 1-316 epplp .my_lp,* 70 1-317 lca stack_frame.condition_bit+1,dl Vanish on-unit 71 1-318 ansa sp|stack_frame.flag_word  72 1-319 eppbp .mcptr  73 1-320 spribp .vfl_arglist+2  74 1-321 fld =1b24,dl  75 1-322 staq .vfl_arglist  76 1-323 short_call verify_lock$verify_lock_bad_dir(.vfl_arglist)  77 1-324 ldx0 .entryp  78 1-325 eppap sp|stack_frame.arg_ptr,* 79 1-326 tra 0,0 retry the call  80 1-327  81 1-328 maclist restore  82 1-329 eject  83 1-330 maclist restore  84 1-331 &end  1-332  1-333  1-334 " GATE_INFO - general info for non-hardcore gates  1-335  1-336 macro gate_info 1 1-337 maclist on,save  2 1-338 use transfer_vector  3 1-339 tra .actor 4 1-340  5 1-341 use tv_end 6 1-342 entrybound 7 1-343  8 1-344 use main  9 1-345 join /text/transfer_vector,tv_end,main 10 1-346  11 1-347 maclist restore  12 1-348 eject  13 1-349  14 1-350 .actor: getlp  15 1-351 maclist restore  16 1-352 gate_actor 17 1-353  18 1-354 maclist restore  19 1-355 eject  20 1-356  21 1-357 .setup: push  22 1-358 getlp  23 1-359 maclist restore  24 1-360 gcheck 25 1-361 tra 0,2  26 1-362  27 1-363 maclist restore  28 1-364 eject  29 1-365  30 1-366 maclist restore  31 1-367 &end  1-368  1-369  1-370 " Macro to generate gate actor. 1-371  1-372 macro gate_actor  1 1-373 maclist on,save  2 1-374 eppbp ap|2,*  3 1-375 lda bp|-1 get length of string  4 1-376 tze .return_name zero length => get name  5 1-377  6 1-378 adla 1,dl include length of acc  7 1-379 stz ap|4,* 8 1-380 tsx0 .search_defs  9 1-381  10 1-382 cmpc (pr,rl),(pr,rl) compare name  11 1-383 desc9a bp|-1(3),al 12 1-384 desc9a bb|0,al 13 1-385 tnz .next_def  14 1-386  15 1-387 lda ab|1,2 return location  16 1-388 arl 18 17 1-389 sta ap|4,* 18 1-390  19 1-391 short_return  20 1-392  21 1-393 .return_name:  22 1-394 lxl3 ap|4,* get location  23 1-395 tsx0 .search_defs  24 1-396  25 1-397 cmpx3 ab|1,2 compare location 26 1-398 tnz .next_def  27 1-399  28 1-400 lda bb|0 get length of name  29 1-401 arl 27 30 1-402 sta bp|-1 set length of varying string  31 1-403 mlr (pr,rl),(pr,rl) return string  32 1-404 desc9a bb|0(1),al  33 1-405 desc9a bp|0,al 34 1-406  35 1-407 short_return  36 1-408  37 1-409 .search_defs:  38 1-410 eax2 0 39 1-411 eppab lp|0,* ab -> defs  40 1-412 .defs_loop: 41 1-413 lxl1 ab|1,2 get class and flags  42 1-414 cmpx1 =o400000,du must be class 0  43 1-415 tnz .next_def  44 1-416  45 1-417 ldx7 ab|2,2  46 1-418 eppbb ab|0,7 bb -> name  47 1-419 tra 0,0 test definition  48 1-420 .next_def:  49 1-421 ldx2 ab|0,2 chain to next def 50 1-422 tnz .defs_loop 51 1-423  52 1-424 short_return  53 1-425  54 1-426 &end  1-427  1-428  1-429 " Miscellaneous macros. 1-430  1-431 macro gcheck  1 1-432 maclist on,save  2 1-433 ldx1 -2,2 get number of args expected 3 1-434 tze .no_gate_error if zero, none or doesn't matter 4 1-435 cmpx1 ap|0 compare against number given  5 1-436 tze .no_gate_error args match, call procedure  6 1-437  7 1-438 call signal_$signal_(signal_arglist)  8 1-439 oct 0  9 1-440  10 1-441 even  11 1-442 signal_arglist: 12 1-443 zero 2,4  13 1-444 zero 2,0  14 1-445 arg .gate_errorname  15 1-446 arg  16 1-447 arg .gate_errordesc  17 1-448 arg  18 1-449  19 1-450 string gate_error  20 1-451  21 1-452  22 1-453 .no_gate_error: 23 1-454 &end  1-455  1-456 macro string  1 1-457 .&1name:  2 1-458 aci "&1"  3 1-459 .&1desc:  4 1-460 vfd o9/525,o27/&l1 5 1-461  6 1-462 &end  1-463  1-464 macro eject 1 1-465 maclist on,save  2 1-466  3 1-467 &end  1-468  1-469 " END INCLUDE FILE ...... gate_macros.incl.alm  1-470  1-471 " To arrange the return it wants to return, it will have to reach back 2 frames.  15 include stack_header  2-1 " BEGIN INCLUDE FILE ... stack_header.incl.alm 3/72 Bill Silver  2-2 "  2-3 " modified 7/76 by M. Weaver for *system links and more system use of areas 2-4 " modified 3/77 by M. Weaver to add rnt_ptr  2-5 " modified 7/77 by S. Webber to add run_unit_depth and assign_linkage_ptr  2-6 " modified 6/83 by J. Ives to add trace_frames and in_trace.  2-7  000004 2-8 equ stack_header.old_lot_ptr,4 obsolete ptr to lot  000006 2-9 equ stack_header.combined_stat_ptr,6 ptr to separate static area  2-10  000010 2-11 equ stack_header.clr_ptr,8 ptr to area containing linkage sections  000012 2-12 equ stack_header.max_lot_size,10 number of words allowed in lot (DU)  000012 2-13 equ stack_header.main_proc_invoked,10 nonzero if main proc was invoked in run unit (DL)  000012 2-14 equ stack_header.run_unit_depth,10 number of active run units stacked (DL) 000013 2-15 equ stack_header.cur_lot_size,11 number of words (entries) in lot 2-16  000014 2-17 equ stack_header.system_free_ptr,12 ptr to system storage area 000016 2-18 equ stack_header.user_free_ptr,14 ptr to user storage area  2-19  000020 2-20 equ stack_header.parent_ptr,16 ptr to parent stack or null  000022 2-21 equ stack_header.stack_begin_ptr,18 ptr to first stack frame  000024 2-22 equ stack_header.stack_end_ptr,20 ptr to next useable stack frame 000026 2-23 equ stack_header.lot_ptr,22 ptr to the lot for the current ring  2-24  000030 2-25 equ stack_header.signal_ptr,24 ptr to signal proc for current ring  000032 2-26 equ stack_header.bar_mode_sp,26 value of sp before entering bar mode  000034 2-27 equ stack_header.pl1_operators_ptr,28 ptr: pl1_operators_$operator_table  000036 2-28 equ stack_header.call_op_ptr,30 ptr to standard call operator 2-29  000040 2-30 equ stack_header.push_op_ptr,32 ptr to standard push operator 000042 2-31 equ stack_header.return_op_ptr,34 ptr to standard return operator 000044 2-32 equ stack_header.ret_no_pop_op_ptr,36 ptr: stand. return/ no pop operator  000046 2-33 equ stack_header.entry_op_ptr,38 ptr to standard entry operator  2-34  000050 2-35 equ stack_header.trans_op_tv_ptr,40 ptr to table of translator operator ptrs  000052 2-36 equ stack_header.isot_ptr,42 pointer to ISOT  000054 2-37 equ stack_header.sct_ptr,44 pointer to System Condition Table 000056 2-38 equ stack_header.unwinder_ptr,46 pointer to unwinder for current ring 2-39  000060 2-40 equ stack_header.sys_link_info_ptr,48 ptr to *system link name table  000062 2-41 equ stack_header.rnt_ptr,50 ptr to reference name table  000064 2-42 equ stack_header.ect_ptr,52 ptr to event channel table  000066 2-43 equ stack_header.assign_linkage_ptr,54 ptr to area for hcs_$assign_linkage calls  000070 2-44 equ stack_header.task_data_ptr,56  2-45  000072 2-46 equ stack_header.trace_frames,58 stack of trace_catch_ frames 000074 2-47 equ stack_header.in_trace,60 trace antirecurse bit  2-48  000100 2-49 equ stack_header_end,64 length of stack header  2-50  2-51  2-52  2-53  000000 2-54 equ trace_frames.count,0 number of trace frames on stack  000001 2-55 equ trace_frames.top_ptr,1 packed pointer to top one  2-56  2-57 " The following constant is an offset within the pl1 operators table.  2-58 " It references a transfer vector table.  2-59  000551 2-60 bool tv_offset,551 2-61  2-62  2-63 " The following constants are offsets within this transfer vector table.  2-64  001170 2-65 equ call_offset,tv_offset+271  001171 2-66 equ push_offset,tv_offset+272  001172 2-67 equ return_offset,tv_offset+273  001173 2-68 equ return_no_pop_offset,tv_offset+274 001174 2-69 equ entry_offset,tv_offset+275 2-70  2-71  2-72 " END INCLUDE FILE stack_header.incl.alm  16 include stack_frame  3-1 "  3-2 " BEGIN INCLUDE FILE ... stack_frame.incl.alm 6/72 RBS  3-3 "  3-4 " Modified: 16 Dec 1977, D. Levin - to add fio_ps_ptr  3-5 " Modified: 3 Feb 1978, P. Krupp - to add run_unit_manager_bit & main_proc_bit 3-6 " Modified: 21 March 1978, D. Levin - change fio_ps_ptr to support_ptr  3-7 "  000020 3-8 equ stack_frame.prev_sp,16 000020 3-9 equ stack_frame.condition_word,16  000022 3-10 equ stack_frame.next_sp,18 000022 3-11 equ stack_frame.signaller_word,18  000024 3-12 equ stack_frame.return_ptr,20  000026 3-13 equ stack_frame.entry_ptr,22  000030 3-14 equ stack_frame.operator_ptr,24  000030 3-15 equ stack_frame.lp_ptr,24  000032 3-16 equ stack_frame.arg_ptr,26 000034 3-17 equ stack_frame.static_ptr,28  000035 3-18 equ stack_frame.support_ptr,29 " only used by fortran I/O  000036 3-19 equ stack_frame.on_unit_rel_ptrs,30  000037 3-20 equ stack_frame.operator_ret_ptr,31  000037 3-21 equ stack_frame.translator_id,31  000040 3-22 equ stack_frame.regs,32  000060 3-23 equ stack_frame.min_length,48  000020 3-24 equ stack_frame.flag_word,16  020000 3-25 bool stack_frame.main_proc_bit,020000 (DL) 010000 3-26 bool stack_frame.run_unit_manager,010000 (DL)  004000 3-27 bool stack_frame.signal_bit,004000 (DL)  002000 3-28 bool stack_frame.crawl_out_bit,002000 (DL) 001000 3-29 bool stack_frame.signaller_bit,001000 (DL) 000400 3-30 bool stack_frame.link_trap_bit,000400 (DL) 000200 3-31 bool stack_frame.support_bit,000200 (DL)  000100 3-32 bool stack_frame.condition_bit,000100 (DL) 3-33  3-34 "  3-35 " END INCLUDE FILE ... stack_frame.incl.alm  3-36 "  17  18 gate_info  use transfer_vector  000000 0a 000010 7100 00 tra .actor  use tv_end entrybound  use main  join /text/transfer_vector,tv_end,main    000010 aa 7 00046 2721 20 .actor: getlp  000011 aa 0 00002 3521 20 eppbp ap|2,*  000012 aa 2 77777 2351 00 lda bp|-1 get length of string  000013 0a 000027 6000 00 tze .return_name zero length => get name   000014 aa 000001 0350 07 adla 1,dl include length of acc  000015 aa 0 00004 4501 20 stz ap|4,* 000016 0a 000042 7000 00 tsx0 .search_defs   000017 aa 0 00140 1065 40 cmpc (pr,rl),(pr,rl) compare name  000020 aa 277777 600005 desc9a bp|-1(3),al 000021 aa 300000 000005 desc9a bb|0,al 000022 0a 000052 6010 00 tnz .next_def   000023 aa 1 00001 2351 12 lda ab|1,2 return location  000024 aa 000022 7710 00 arl 18 000025 aa 0 00004 7551 20 sta ap|4,*  000026 aa 7 00044 7101 20 short_return   000027 .return_name:  000027 aa 0 00004 7231 20 lxl3 ap|4,* get location  000030 0a 000042 7000 00 tsx0 .search_defs   000031 aa 1 00001 1031 12 cmpx3 ab|1,2 compare location 000032 0a 000052 6010 00 tnz .next_def   000033 aa 3 00000 2351 00 lda bb|0 get length of name  000034 aa 000033 7710 00 arl 27 000035 aa 2 77777 7551 00 sta bp|-1 set length of varying string  000036 aa 0 00140 1005 40 mlr (pr,rl),(pr,rl) return string  000037 aa 300000 200005 desc9a bb|0(1),al  000040 aa 200000 000005 desc9a bp|0,al  000041 aa 7 00044 7101 20 short_return   000042 .search_defs:  000042 aa 000000 6220 00 eax2 0 000043 aa 4 00000 3515 20 eppab lp|0,* ab -> defs  000044 .defs_loop: 000044 aa 1 00001 7211 12 lxl1 ab|1,2 get class and flags  000045 aa 400000 1010 03 cmpx1 =o400000,du must be class 0  000046 0a 000052 6010 00 tnz .next_def   000047 aa 1 00002 2271 12 ldx7 ab|2,2  000050 aa 1 00000 3535 17 eppbb ab|0,7 bb -> name  000051 aa 000000 7100 10 tra 0,0 test definition  000052 .next_def:  000052 aa 1 00000 2221 12 ldx2 ab|0,2 chain to next def 000053 0a 000044 6010 00 tnz .defs_loop  000054 aa 7 00044 7101 20 short_return      000055 aa 000060 6270 00 .setup: push  000056 aa 7 00040 2721 20 000057 aa 7 00046 2721 20 getlp  000060 aa 777776 2210 12 ldx1 -2,2 get number of args expected 000061 0a 000106 6000 00 tze .no_gate_error if zero, none or doesn't matter 000062 aa 0 00000 1011 00 cmpx1 ap|0 compare against number given  000063 0a 000106 6000 00 tze .no_gate_error args match, call procedure   000064 aa 6 00000 2541 00 call signal_$signal_(signal_arglist)  000065 0a 000074 3500 00 000066 4a 4 00010 3521 20 000067 aa 6 00040 7531 00 000070 aa 7 00036 6701 20 000071 aa 6 00000 1731 00 000072 aa 6 00040 0731 00 000073 aa 000000 000000 oct 0   even  000074 signal_arglist: 000074 aa 000002 000004 zero 2,4  000075 aa 000002 000000 zero 2,0  000076 0a 000102 0000 00 arg .gate_errorname  000077 aa 000000 0000 00 arg  000100 0a 000105 0000 00 arg .gate_errordesc  000101 aa 000000 0000 00 arg   string gate_error  000102 .gate_errorname:  000102 aa 147 141 164 145 aci "gate_error"  000103 aa 137 145 162 162 000104 aa 157 162 000 000 000105 .gate_errordesc:  000105 aa 525000 000010 vfd o9/525,o27/10     000106 .no_gate_error: 000106 aa 000000 7100 12 tra 0,2     19  20 gate create_forum,forum_mgr_tv_,create_forum,3 000001 segdef create_forum  000001 create_forum:  000001 0a 000110 7100 00 tra create_forum.e 000107 aa 000006 000000 zero 3*2,0 000110 create_forum.e: 000110 0a 000055 7020 00 tsx2 .setup  000111 aa 000000 6340 07 ldi =0,dl  000112 4a 4 00012 3521 20 short_call forum_mgr_tv_$create_forum(ap|0)  000113 aa 7 00036 6701 20 000114 aa 6 00030 3701 20 000115 aa 7 00042 7101 20 return  21 gate chname_forum,forum_mgr_tv_,chname_forum,5 000002 segdef chname_forum  000002 chname_forum:  000002 0a 000117 7100 00 tra chname_forum.e 000116 aa 000012 000000 zero 5*2,0 000117 chname_forum.e: 000117 0a 000055 7020 00 tsx2 .setup  000120 aa 000000 6340 07 ldi =0,dl  000121 4a 4 00014 3521 20 short_call forum_mgr_tv_$chname_forum(ap|0)  000122 aa 7 00036 6701 20 000123 aa 6 00030 3701 20 000124 aa 7 00042 7101 20 return  22 gate chname_forum_idx,forum_mgr_tv_,chname_forum_idx,4 000003 segdef chname_forum_idx  000003 chname_forum_idx:  000003 0a 000126 7100 00 tra chname_forum_idx.e 000125 aa 000010 000000 zero 4*2,0 000126 chname_forum_idx.e: 000126 0a 000055 7020 00 tsx2 .setup  000127 aa 000000 6340 07 ldi =0,dl  000130 4a 4 00016 3521 20 short_call forum_mgr_tv_$chname_forum_idx(ap|0)  000131 aa 7 00036 6701 20 000132 aa 6 00030 3701 20 000133 aa 7 00042 7101 20 return  23 gate set_forum_acl,forum_mgr_tv_,set_forum_acl,6  000004 segdef set_forum_acl  000004 set_forum_acl:  000004 0a 000135 7100 00 tra set_forum_acl.e  000134 aa 000014 000000 zero 6*2,0 000135 set_forum_acl.e:  000135 0a 000055 7020 00 tsx2 .setup  000136 aa 000000 6340 07 ldi =0,dl  000137 4a 4 00020 3521 20 short_call forum_mgr_tv_$set_forum_acl(ap|0)  000140 aa 7 00036 6701 20 000141 aa 6 00030 3701 20 000142 aa 7 00042 7101 20 return  24  25 gate change_chairman,forum_mgr_tv_,change_chairman,4  000005 segdef change_chairman 000005 change_chairman:  000005 0a 000144 7100 00 tra change_chairman.e  000143 aa 000010 000000 zero 4*2,0 000144 change_chairman.e:  000144 0a 000055 7020 00 tsx2 .setup  000145 aa 000000 6340 07 ldi =0,dl  000146 4a 4 00022 3521 20 short_call forum_mgr_tv_$change_chairman(ap|0) 000147 aa 7 00036 6701 20 000150 aa 6 00030 3701 20 000151 aa 7 00042 7101 20 return  26 gate change_chairman_idx,forum_mgr_tv_,change_chairman_idx,3  000006 segdef change_chairman_idx 000006 change_chairman_idx:  000006 0a 000153 7100 00 tra change_chairman_idx.e  000152 aa 000006 000000 zero 3*2,0 000153 change_chairman_idx.e:  000153 0a 000055 7020 00 tsx2 .setup  000154 aa 000000 6340 07 ldi =0,dl  000155 4a 4 00024 3521 20 short_call forum_mgr_tv_$change_chairman_idx(ap|0) 000156 aa 7 00036 6701 20 000157 aa 6 00030 3701 20 000160 aa 7 00042 7101 20 return  27 gate expunge,forum_mgr_tv_,expunge,7  000007 segdef expunge 000007 expunge:  000007 0a 000162 7100 00 tra expunge.e  000161 aa 000016 000000 zero 7*2,0 000162 expunge.e:  000162 0a 000055 7020 00 tsx2 .setup  000163 aa 000000 6340 07 ldi =0,dl  000164 4a 4 00026 3521 20 short_call forum_mgr_tv_$expunge(ap|0) 000165 aa 7 00036 6701 20 000166 aa 6 00030 3701 20 000167 aa 7 00042 7101 20 return  28  29 end  NO LITERALS  NAME DEFINITIONS FOR ENTRY POINTS AND SEGDEFS 000170 5a 000003 000000 000171 5a 000102 600000 000172 aa 000000 000000 000173 55 000012 000002 000174 5a 000002 400003 000175 55 000006 000012 000176 aa 017 146 157 162 000177 aa 165 155 137 143 000200 aa 150 141 151 162 000201 aa 155 141 156 137 000202 55 000017 000003 000203 0a 000007 400000 000204 55 000015 000003 000205 aa 007 145 170 160 expunge 000206 aa 165 156 147 145 000207 55 000027 000012 000210 0a 000006 400000 000211 55 000022 000003 000212 aa 023 143 150 141 change_chairman_idx 000213 aa 156 147 145 137 000214 aa 143 150 141 151 000215 aa 162 155 141 156 000216 aa 137 151 144 170 000217 55 000036 000017 000220 0a 000005 400000 000221 55 000032 000003 000222 aa 017 143 150 141 change_chairman 000223 aa 156 147 145 137 000224 aa 143 150 141 151 000225 aa 162 155 141 156 000226 55 000045 000027 000227 0a 000004 400000 000230 55 000041 000003 000231 aa 015 163 145 164 set_forum_acl  000232 aa 137 146 157 162 000233 aa 165 155 137 141 000234 aa 143 154 000 000 000235 55 000055 000036 000236 0a 000003 400000 000237 55 000050 000003 000240 aa 020 143 150 156 chname_forum_idx  000241 aa 141 155 145 137 000242 aa 146 157 162 165 000243 aa 155 137 151 144 000244 aa 170 000 000 000 000245 55 000064 000045 000246 0a 000002 400000 000247 55 000060 000003 000250 aa 014 143 150 156 chname_forum  000251 aa 141 155 145 137 000252 aa 146 157 162 165 000253 aa 155 000 000 000 000254 55 000073 000055 000255 0a 000001 400000 000256 55 000067 000003 000257 aa 014 143 162 145 create_forum  000260 aa 141 164 145 137 000261 aa 146 157 162 165 000262 aa 155 000 000 000 000263 55 000002 000064 000264 6a 000000 400002 000265 55 000076 000003 000266 aa 014 163 171 155 symbol_table  000267 aa 142 157 154 137 000270 aa 164 141 142 154 000271 aa 145 000 000 000 DEFINITIONS HASH TABLE  000272 aa 000000 000015 000273 aa 000000 000000 000274 5a 000027 000000 000275 aa 000000 000000 000276 5a 000055 000000 000277 5a 000012 000000 000300 5a 000064 000000 000301 5a 000073 000000 000302 5a 000017 000000 000303 aa 000000 000000 000304 5a 000045 000000 000305 aa 000000 000000 000306 aa 000000 000000 000307 5a 000036 000000 EXTERNAL NAMES  000310 aa 015 146 157 162 forum_mgr_tv_  000311 aa 165 155 137 155 000312 aa 147 162 137 164 000313 aa 166 137 000 000 000314 aa 007 163 151 147 signal_ 000315 aa 156 141 154 137 NO TRAP POINTER WORDS  TYPE PAIR BLOCKS  000316 aa 000004 000000 000317 55 000120 000015 000320 aa 000004 000000 000321 55 000120 000022 000322 aa 000004 000000 000323 55 000120 000032 000324 aa 000004 000000 000325 55 000120 000041 000326 aa 000004 000000 000327 55 000120 000050 000330 aa 000004 000000 000331 55 000120 000060 000332 aa 000004 000000 000333 55 000120 000067 000334 aa 000004 000000 000335 55 000124 000124 000336 aa 000001 000000 000337 aa 000000 000000 INTERNAL EXPRESSION WORDS 000340 5a 000126 000000 000341 5a 000130 000000 000342 5a 000132 000000 000343 5a 000134 000000 000344 5a 000136 000000 000345 5a 000140 000000 000346 5a 000142 000000 000347 5a 000144 000000 LINKAGE INFORMATION 000000 aa 000000 000000 000001 0a 000170 000000 000002 aa 000000 000000 000003 aa 000000 000000 000004 aa 000000 000000 000005 aa 000000 000000 000006 22 000010 000030 000007 a2 000000 000000 000010 9a 777770 0000 46 signal_|signal_ 000011 5a 000157 0000 00 000012 9a 777766 0000 46 forum_mgr_tv_|create_forum  000013 5a 000156 0000 00 000014 9a 777764 0000 46 forum_mgr_tv_|chname_forum  000015 5a 000155 0000 00 000016 9a 777762 0000 46 forum_mgr_tv_|chname_forum_idx  000017 5a 000154 0000 00 000020 9a 777760 0000 46 forum_mgr_tv_|set_forum_acl 000021 5a 000153 0000 00 000022 9a 777756 0000 46 forum_mgr_tv_|change_chairman  000023 5a 000152 0000 00 000024 9a 777754 0000 46 forum_mgr_tv_|change_chairman_idx  000025 5a 000151 0000 00 000026 9a 777752 0000 46 forum_mgr_tv_|expunge  000027 5a 000150 0000 00 SYMBOL INFORMATION SYMBOL TABLE HEADER  000000 aa 000000 000001 000001 aa 163171 155142 000002 aa 164162 145145 000003 aa 000000 000004 000004 aa 000000 112143 000005 aa 305203 523135 000006 aa 000000 113455 000007 aa 364074 012426 000010 aa 141154 155040 000011 aa 040040 040040 000012 aa 000024 000040 000013 aa 000034 000040 000014 aa 000044 000100 000015 aa 000002 000002 000016 aa 000064 000000 000017 aa 000000 000205 000020 aa 000000 000152 000021 aa 000000 000167 000022 aa 000175 000152 000023 aa 000064 000000 000024 aa 101114 115040 000025 aa 126145 162163 000026 aa 151157 156040 000027 aa 040066 056066 000030 aa 040040 116157 000031 aa 166145 155142 000032 aa 145162 040061 000033 aa 071070 062040 000034 aa 107112 157150 000035 aa 156163 157156 000036 aa 056123 171163 000037 aa 115141 151156 000040 aa 164056 155040 000041 aa 040040 040040 000042 aa 040040 040040 000043 aa 040040 040040 000044 aa 154151 163164 000045 aa 040040 040040 000046 aa 040040 040040 000047 aa 040040 040040 000050 aa 040040 040040 000051 aa 040040 040040 000052 aa 040040 040040 000053 aa 040040 040040 000054 aa 040040 040040 000055 aa 040040 040040 000056 aa 040040 040040 000057 aa 040040 040040 000060 aa 040040 040040 000061 aa 040040 040040 000062 aa 040040 040040 000063 aa 040040 040040 000064 aa 000000 000001 000065 aa 000000 000004 000066 aa 000106 000042 000067 aa 134547 135362 000070 aa 000000 113455 000071 aa 363540 200000 000072 aa 000117 000043 000073 aa 134547 135074 000074 aa 000000 113455 000075 aa 362636 400000 000076 aa 000130 000042 000077 aa 120345 447426 000100 aa 000000 112034 000101 aa 634146 000000 000102 aa 000141 000041 000103 aa 052721 247134 000104 aa 000000 105272 000105 aa 317215 400000 000106 aa 076163 160145 >spec>on>41-16>forum_chairman_.alm  000107 aa 143076 157156 000110 aa 076064 061055 000111 aa 061066 076146 000112 aa 157162 165155 000113 aa 137143 150141 000114 aa 151162 155141 000115 aa 156137 056141 000116 aa 154155 040040 000117 aa 076163 160145 >spec>on>41-16>gate_macros.incl.alm 000120 aa 143076 157156 000121 aa 076064 061055 000122 aa 061066 076147 000123 aa 141164 145137 000124 aa 155141 143162 000125 aa 157163 056151 000126 aa 156143 154056 000127 aa 141154 155040 000130 aa 076154 144144 >ldd>include>stack_header.incl.alm  000131 aa 076151 156143 000132 aa 154165 144145 000133 aa 076163 164141 000134 aa 143153 137150 000135 aa 145141 144145 000136 aa 162056 151156 000137 aa 143154 056141 000140 aa 154155 040040 000141 aa 076154 144144 >ldd>include>stack_frame.incl.alm  000142 aa 076151 156143 000143 aa 154165 144145 000144 aa 076163 164141 000145 aa 143153 137146 000146 aa 162141 155145 000147 aa 056151 156143 000150 aa 154056 141154 000151 aa 155040 040040 MULTICS ASSEMBLY CROSS REFERENCE LISTING Value Symbol Source file Line number  10 .actor forum_chairman_: 18.  44 .defs_loop forum_chairman_: 18.  105 .gate_errordesc forum_chairman_: 18.  102 .gate_errorname forum_chairman_: 18.  52 .next_def forum_chairman_: 18.  106 .no_gate_error forum_chairman_: 18.  27 .return_name forum_chairman_: 18.  42 .search_defs forum_chairman_: 18.  55 .setup forum_chairman_: 18, 20, 21, 22, 23, 25, 26, 27. 1170 call_offset stack_header: 65.  5 change_chairman forum_chairman_: 25.  144 change_chairman.e forum_chairman_: 25.  6 change_chairman_idx forum_chairman_: 26.  153 change_chairman_idx.e forum_chairman_: 26.  2 chname_forum forum_chairman_: 21.  117 chname_forum.e forum_chairman_: 21.  3 chname_forum_idx forum_chairman_: 22.  126 chname_forum_idx.e forum_chairman_: 22.  1 create_forum forum_chairman_: 20.  110 create_forum.e forum_chairman_: 20.  1174 entry_offset stack_header: 69.  7 expunge forum_chairman_: 27.  162 expunge.e forum_chairman_: 27.  forum_mgr_tv_ forum_chairman_: 20, 21, 22, 23, 25, 26, 27.  10 main forum_chairman_: 18, 20, 21, 22, 23, 25, 26, 27. 1171 push_offset stack_header: 66.  1173 return_no_pop_offset stack_header: 68.  1172 return_offset stack_header: 67.  4 set_forum_acl forum_chairman_: 23.  135 set_forum_acl.e forum_chairman_: 23.  signal_ forum_chairman_: 18.  74 signal_arglist forum_chairman_: 18.  32 stack_frame.arg_ptr stack_frame: 16. 100 stack_frame.condition_bit stack_frame: 32.  20 stack_frame.condition_word stack_frame: 9.  2000 stack_frame.crawl_out_bit stack_frame: 28.  26 stack_frame.entry_ptr stack_frame: 13. 20 stack_frame.flag_word stack_frame: 24. 400 stack_frame.link_trap_bit stack_frame: 30.  30 stack_frame.lp_ptr stack_frame: 15. 20000 stack_frame.main_proc_bit stack_frame: 25.  60 stack_frame.min_length stack_frame: 23. 22 stack_frame.next_sp stack_frame: 10. 36 stack_frame.on_unit_rel_ptrs stack_frame: 19.  30 stack_frame.operator_ptr stack_frame: 14.  37 stack_frame.operator_ret_ptr stack_frame: 20.  20 stack_frame.prev_sp stack_frame: 8. 40 stack_frame.regs stack_frame: 22. 24 stack_frame.return_ptr stack_frame: 12. 10000 stack_frame.run_unit_manager stack_frame: 26.  1000 stack_frame.signaller_bit stack_frame: 29.  22 stack_frame.signaller_word stack_frame: 11.  4000 stack_frame.signal_bit stack_frame: 27. 34 stack_frame.static_ptr stack_frame: 17. 200 stack_frame.support_bit stack_frame: 31. 35 stack_frame.support_ptr stack_frame: 18. 37 stack_frame.translator_id stack_frame: 21.  66 stack_header.assign_linkage_ptr stack_header: 43.  32 stack_header.bar_mode_sp stack_header: 26. 36 stack_header.call_op_ptr stack_header: 28. 10 stack_header.clr_ptr stack_header: 11.  6 stack_header.combined_stat_ptr stack_header: 9.  13 stack_header.cur_lot_size stack_header: 15. 64 stack_header.ect_ptr stack_header: 42.  46 stack_header.entry_op_ptr stack_header: 33. 74 stack_header.in_trace stack_header: 47.  52 stack_header.isot_ptr stack_header: 36.  26 stack_header.lot_ptr stack_header: 23.  12 stack_header.main_proc_invoked stack_header: 13.  12 stack_header.max_lot_size stack_header: 12. 4 stack_header.old_lot_ptr stack_header: 8. 20 stack_header.parent_ptr stack_header: 20.  34 stack_header.pl1_operators_ptr stack_header: 27.  40 stack_header.push_op_ptr stack_header: 30. 42 stack_header.return_op_ptr stack_header: 31. 44 stack_header.ret_no_pop_op_ptr stack_header: 32.  62 stack_header.rnt_ptr stack_header: 41.  12 stack_header.run_unit_depth stack_header: 14. 54 stack_header.sct_ptr stack_header: 37.  30 stack_header.signal_ptr stack_header: 25.  22 stack_header.stack_begin_ptr stack_header: 21. 24 stack_header.stack_end_ptr stack_header: 22. 14 stack_header.system_free_ptr stack_header: 17. 60 stack_header.sys_link_info_ptr stack_header: 40.  70 stack_header.task_data_ptr stack_header: 44. 72 stack_header.trace_frames stack_header: 46. 50 stack_header.trans_op_tv_ptr stack_header: 35. 56 stack_header.unwinder_ptr stack_header: 38. 16 stack_header.user_free_ptr stack_header: 18. 100 stack_header_end stack_header: 49.  0 trace_frames.count stack_header: 54.  1 trace_frames.top_ptr stack_header: 55.  0 transfer_vector forum_chairman_: 18, 20, 21, 22, 23, 25, 26, 27. 10 tv_end forum_chairman_: 18.  551 tv_offset stack_header: 60, 65, 66, 67, 68, 69. NO FATAL ERRORS  ----------------------------------------------------------- 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