1 
  2 
  3 
  4 
  5 
  6 
  7 
  8 
  9 
 10 dcl  db_fnp_symbols_$db_fnp_symbols_ ext;
 11 
 12 dcl  symbol_tablep ptr;
 13 
 14 dcl 1 symbol_table aligned based (symbol_tablep),
 15     2 cnt fixed bin,                                        
 16     2 maxcnt fixed bin,                                     
 17     2 entry (symbol_table.cnt) unal,
 18       3 one_symbol like sym unal;
 19 
 20 dcl  symp ptr;                                              
 21 
 22 dcl 1 sym unal based (symp),
 23     2 name char (6),
 24     2 value fixed bin (17),
 25     2 len fixed bin (17),                                   
 26     2 reloc fixed bin (17),
 27     2 type fixed bin (17),
 28     2 flag_mem char (6),                                    
 29     2 explain bit (18),                                     
 30     2 pad bit (18);
 31 
 32 dcl  exptextp ptr;
 33 
 34 dcl 1 exptext aligned based (exptextp),                     
 35     2 len fixed bin (8) unal,
 36     2 data char (exptext.len) unal;
 37 
 38 
 39 
 40 dcl (reloc_abs init (0),                                    
 41      reloc_tib init (1),                                    
 42      reloc_hwcm init (2),                                   
 43      reloc_sfcm init (3),                                   
 44      reloc_meters init (4))                                 
 45      int static options (constant);
 46 
 47 
 48 
 49 dcl (type_oct init (0),                                     
 50      type_char init (1),                                    
 51      type_addr init (2),                                    
 52      type_clock init (3),                                   
 53      type_inst init (4),                                    
 54      type_op init (5),                                      
 55      type_dec init (6),                                     
 56      type_bit init (7),                                     
 57      type_ebcdic init (8))                                  
 58      int static options (constant);
 59 
 60 dcl  long_type_names (0:8) char (12) int static options (constant) init (
 61      "octal", "character", "address", "clock", "instruction", "opblock", "decimal", "bit", "ebcdic");
 62 dcl  short_type_names (0:8) char (4) int static options (constant) init (
 63      "oct", "ch", "addr", "ck", "inst", "op", "dec", "bit", "ebc");
 64 
 65 
 66 
 67 
 68 dcl  expr_infop ptr;
 69 
 70 dcl 1 expr_info aligned based (expr_infop),
 71     2 flags,
 72       3 star_known bit (1) unal,                            
 73       3 tib_known bit (1) unal,                             
 74       3 hwcm_known bit (1) unal,                            
 75       3 sfcm_known bit (1) unal,                            
 76       3 pad bit (32) unal,
 77     2 star_addr fixed bin,                                  
 78     2 tib_addr fixed bin,                                   
 79     2 hwcm_addr fixed bin,                                  
 80     2 sfcm_addr fixed bin,                                  
 81     2 type fixed bin,                                       
 82     2 len fixed bin,                                        
 83     2 user_tablep ptr;                                      
 84 
 85 
 86 
 87 
 88 dcl  db_fnp_opcodes_$ ext;
 89 
 90 dcl  optablep ptr;
 91 
 92 dcl 1 optable aligned based (optablep),
 93     2 cnt fixed bin,
 94     2 entry (optable.cnt) unal,
 95       3 one_op like op;
 96 
 97 dcl  opp ptr;
 98 
 99 dcl 1 op unal based (opp),
100     2 name char (6),                                        
101     2 code bit (12),                                        
102     2 mask bit (12),                                        
103     2 type fixed bin (11),                                  
104     2 pad bit (18);
105 
106 
107 
108 
109 
110 
111 
112 
113 
114 
115 
116 dcl  cmd_infop ptr;
117 
118 dcl 1 cmd_info aligned based (cmd_infop),
119     2 inbuf char (256),                                     
120     2 opbuf char (256),                                     
121     2 commandp ptr,                                         
122     2 commandl fixed bin,                                   
123     2 operandp ptr,                                         
124     2 operandl fixed bin,                                   
125     2 error bit (1),                                        
126     2 endline bit (1),                                      
127     2 opstring bit (1),                                     
128     2 flush bit (1),                                        
129     2 envp ptr;                                             
130 
131 dcl  command char (cmd_info.commandl) based (cmd_info.commandp);
132 dcl  operand char (cmd_info.operandl) based (cmd_info.operandp);
133 
134 
135 
136 
137 dcl  envp ptr;
138 
139 dcl 1 env aligned based (envp),
140     2 corep ptr,                                            
141     2 fnp fixed bin,                                        
142     2 dump_dir char (168) unal,                             
143     2 dir char (168) unal,                                  
144     2 ename char (32) unal,                                 
145     2 tty_name char (32),                                   
146     2 segp ptr,                                             
147     2 flags unal,
148       3 fnps_configured bit (8),                            
149       3 fnp_sw bit (1),                                     
150       3 image_sw bit (1),                                   
151       3 dump_sw bit (1),                                    
152       3 fdump_sw bit (1),                                   
153       3 pad bit (24),
154     2 dump_time fixed bin (71);                             
155 
156 
157 
158 dcl  db_fnp_opblocks_$ ext;
159 
160 dcl  opblock_tablep ptr;
161 
162 dcl 1 opblock_table aligned based (opblock_tablep),
163     2 cnt fixed bin,
164     2 name (0:opblock_table.cnt) char (6) unal;
165 
166