1
2
3
4
5 validate_status: proc (status_address, sp);
6
7 dcl status_address fixed bin(18)unsigned unal parm;
8 dcl sp ptr parm;
9 dcl status_pointer ptr init(null());
10
11
12
13 if (status_address < mem_bottom) |
14 (status_address >= mem_top) then goto return_err4;
15
16
17 if status_address -1 >= filact_args.L_arglist &
18 status_address < (filact_args.L_arglist+ 2) then goto return_err4;
19
20
21 sp, status_pointer = addrel (gseg, status_address);
22 unspec (status_pointer -> status_word) = "0"b;
23 return;
24
25 dcl 1 filact_args aligned based(arg_ptr),
26 2 zero fixed bin(18)unsigned unal unal,
27 2 L_arglist fixed bin(18)unsigned unal unal;
28 end ;
29
30