Dale Curtis | 5f133c4 | 2018-10-29 17:05:33 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Do not edit - this file auto-generated by macros.pl from: |
| 3 | * version.mac |
| 4 | * ./macros/altreg.mac |
| 5 | * ./macros/fp.mac |
| 6 | * ./macros/ifunc.mac |
Dale Curtis | e293814 | 2020-06-29 15:29:48 -0700 | [diff] [blame] | 7 | * ./macros/masm.mac |
Dale Curtis | 5f133c4 | 2018-10-29 17:05:33 -0700 | [diff] [blame] | 8 | * ./macros/smartalign.mac |
| 9 | * ./macros/standard.mac |
| 10 | * ./output/outaout.mac |
| 11 | * ./output/outas86.mac |
| 12 | * ./output/outbin.mac |
| 13 | * ./output/outcoff.mac |
| 14 | * ./output/outdbg.mac |
| 15 | * ./output/outelf.mac |
| 16 | * ./output/outmacho.mac |
| 17 | * ./output/outobj.mac |
| 18 | * ./output/outrdf2.mac |
| 19 | * ./output/outrdf.mac |
| 20 | */ |
| 21 | |
| 22 | #include "tables.h" |
| 23 | #include "nasmlib.h" |
| 24 | #include "hashtbl.h" |
| 25 | #include "outform.h" |
| 26 | |
Dale Curtis | e293814 | 2020-06-29 15:29:48 -0700 | [diff] [blame] | 27 | #define p_if 128 |
| 28 | #define p_ifctx 129 |
| 29 | #define p_ifdef 130 |
| 30 | #define p_ifdefalias 131 |
| 31 | #define p_ifempty 132 |
| 32 | #define p_ifenv 133 |
| 33 | #define p_ifid 134 |
| 34 | #define p_ifidn 135 |
| 35 | #define p_ifidni 136 |
| 36 | #define p_ifmacro 137 |
| 37 | #define p_ifnum 138 |
| 38 | #define p_ifstr 139 |
| 39 | #define p_iftoken 140 |
| 40 | #define p_ifusable 141 |
| 41 | #define p_ifusing 142 |
| 42 | #define p_ifn 144 |
| 43 | #define p_ifnctx 145 |
| 44 | #define p_ifndef 146 |
| 45 | #define p_ifndefalias 147 |
| 46 | #define p_ifnempty 148 |
| 47 | #define p_ifnenv 149 |
| 48 | #define p_ifnid 150 |
| 49 | #define p_ifnidn 151 |
| 50 | #define p_ifnidni 152 |
| 51 | #define p_ifnmacro 153 |
| 52 | #define p_ifnnum 154 |
| 53 | #define p_ifnstr 155 |
| 54 | #define p_ifntoken 156 |
| 55 | #define p_ifnusable 157 |
| 56 | #define p_ifnusing 158 |
| 57 | #define p_elif 160 |
| 58 | #define p_elifctx 161 |
| 59 | #define p_elifdef 162 |
| 60 | #define p_elifdefalias 163 |
| 61 | #define p_elifempty 164 |
| 62 | #define p_elifenv 165 |
| 63 | #define p_elifid 166 |
| 64 | #define p_elifidn 167 |
| 65 | #define p_elifidni 168 |
| 66 | #define p_elifmacro 169 |
| 67 | #define p_elifnum 170 |
| 68 | #define p_elifstr 171 |
| 69 | #define p_eliftoken 172 |
| 70 | #define p_elifusable 173 |
| 71 | #define p_elifusing 174 |
| 72 | #define p_elifn 176 |
| 73 | #define p_elifnctx 177 |
| 74 | #define p_elifndef 178 |
| 75 | #define p_elifndefalias 179 |
| 76 | #define p_elifnempty 180 |
| 77 | #define p_elifnenv 181 |
| 78 | #define p_elifnid 182 |
| 79 | #define p_elifnidn 183 |
| 80 | #define p_elifnidni 184 |
| 81 | #define p_elifnmacro 185 |
| 82 | #define p_elifnnum 186 |
| 83 | #define p_elifnstr 187 |
| 84 | #define p_elifntoken 188 |
| 85 | #define p_elifnusable 189 |
| 86 | #define p_elifnusing 190 |
| 87 | #define p_aliases 192 |
| 88 | #define p_arg 193 |
| 89 | #define p_clear 194 |
| 90 | #define p_depend 195 |
| 91 | #define p_else 196 |
| 92 | #define p_endif 197 |
| 93 | #define p_endm 198 |
| 94 | #define p_endmacro 199 |
| 95 | #define p_endrep 200 |
| 96 | #define p_error 201 |
| 97 | #define p_exitmacro 202 |
| 98 | #define p_exitrep 203 |
| 99 | #define p_fatal 204 |
| 100 | #define p_include 205 |
| 101 | #define p_line 206 |
| 102 | #define p_local 207 |
| 103 | #define p_pop 208 |
| 104 | #define p_pragma 209 |
| 105 | #define p_push 210 |
| 106 | #define p_rep 211 |
| 107 | #define p_repl 212 |
| 108 | #define p_rotate 213 |
| 109 | #define p_stacksize 214 |
| 110 | #define p_undef 215 |
| 111 | #define p_undefalias 216 |
| 112 | #define p_use 217 |
| 113 | #define p_warning 218 |
| 114 | #define p_assign 220 |
| 115 | #define p_iassign 221 |
| 116 | #define p_defalias 222 |
| 117 | #define p_idefalias 223 |
| 118 | #define p_define 224 |
| 119 | #define p_idefine 225 |
| 120 | #define p_defstr 226 |
| 121 | #define p_idefstr 227 |
| 122 | #define p_deftok 228 |
| 123 | #define p_ideftok 229 |
| 124 | #define p_macro 230 |
| 125 | #define p_imacro 231 |
| 126 | #define p_pathsearch 232 |
| 127 | #define p_ipathsearch 233 |
| 128 | #define p_rmacro 234 |
| 129 | #define p_irmacro 235 |
| 130 | #define p_strcat 236 |
| 131 | #define p_istrcat 237 |
| 132 | #define p_strlen 238 |
| 133 | #define p_istrlen 239 |
| 134 | #define p_substr 240 |
| 135 | #define p_isubstr 241 |
| 136 | #define p_xdefine 242 |
| 137 | #define p_ixdefine 243 |
| 138 | #define p_unmacro 244 |
| 139 | #define p_unimacro 245 |
| 140 | #define EOL 127 |
| 141 | |
Dale Curtis | 5f133c4 | 2018-10-29 17:05:33 -0700 | [diff] [blame] | 142 | |
| 143 | #if 1 |
| 144 | const unsigned char nasm_stdmac_version[] = { |
| 145 | /* From version.mac */ |
Dale Curtis | e293814 | 2020-06-29 15:29:48 -0700 | [diff] [blame] | 146 | /* 0 */ p_define,'_','_','?','N','A','S','M','_','M','A','J','O','R','?','_','_',' ','2',EOL, |
| 147 | /* 20 */ p_define,'_','_','?','N','A','S','M','_','M','I','N','O','R','?','_','_',' ','1','5',EOL, |
| 148 | /* 41 */ p_define,'_','_','?','N','A','S','M','_','S','U','B','M','I','N','O','R','?','_','_',' ','1',EOL, |
Dale Curtis | 81fc45a | 2020-07-01 12:22:26 -0700 | [diff] [blame] | 149 | /* 64 */ p_define,'_','_','?','N','A','S','M','_','P','A','T','C','H','L','E','V','E','L','?','_','_',' ','9','2',EOL, |
| 150 | /* 90 */ p_define,'_','_','?','N','A','S','M','_','V','E','R','S','I','O','N','_','I','D','?','_','_',' ','0','0','2','0','F','0','1','5','C','h',EOL, |
| 151 | /* 124 */ p_define,'_','_','?','N','A','S','M','_','V','E','R','?','_','_',' ','\"','2','.','1','5','.','0','2','r','c','2','\"',EOL, |
| 152 | /* 153 */ EOL |
Dale Curtis | 5f133c4 | 2018-10-29 17:05:33 -0700 | [diff] [blame] | 153 | }; |
| 154 | #endif |
| 155 | |
| 156 | #if 1 |
| 157 | static const unsigned char nasm_usemac_altreg[] = { |
| 158 | /* From ./macros/altreg.mac */ |
Dale Curtis | e293814 | 2020-06-29 15:29:48 -0700 | [diff] [blame] | 159 | /* 0 */ p_define,'_','_','?','U','S','E','_','A','L','T','R','E','G','?','_','_',EOL, |
| 160 | /* 0 */ p_defalias,'_','_','U','S','E','_','A','L','T','R','E','G','_','_',' ','_','_','?','U','S','E','A','L','T','R','E','G','?','_','_',EOL, |
| 161 | /* 32 */ p_idefine,'r','8','l',' ','r','8','b',EOL, |
| 162 | /* 41 */ p_idefine,'r','9','l',' ','r','9','b',EOL, |
| 163 | /* 50 */ p_idefine,'r','1','0','l',' ','r','1','0','b',EOL, |
| 164 | /* 61 */ p_idefine,'r','1','1','l',' ','r','1','1','b',EOL, |
| 165 | /* 72 */ p_idefine,'r','1','2','l',' ','r','1','2','b',EOL, |
| 166 | /* 83 */ p_idefine,'r','1','3','l',' ','r','1','3','b',EOL, |
| 167 | /* 94 */ p_idefine,'r','1','4','l',' ','r','1','4','b',EOL, |
| 168 | /* 105 */ p_idefine,'r','1','5','l',' ','r','1','5','b',EOL, |
| 169 | /* 116 */ p_idefine,'r','0',' ','r','a','x',EOL, |
| 170 | /* 124 */ p_idefine,'r','1',' ','r','c','x',EOL, |
| 171 | /* 132 */ p_idefine,'r','2',' ','r','d','x',EOL, |
| 172 | /* 140 */ p_idefine,'r','3',' ','r','b','x',EOL, |
| 173 | /* 148 */ p_idefine,'r','4',' ','r','s','p',EOL, |
| 174 | /* 156 */ p_idefine,'r','5',' ','r','b','p',EOL, |
| 175 | /* 164 */ p_idefine,'r','6',' ','r','s','i',EOL, |
| 176 | /* 172 */ p_idefine,'r','7',' ','r','d','i',EOL, |
| 177 | /* 180 */ p_idefine,'r','0','d',' ','e','a','x',EOL, |
| 178 | /* 189 */ p_idefine,'r','1','d',' ','e','c','x',EOL, |
| 179 | /* 198 */ p_idefine,'r','2','d',' ','e','d','x',EOL, |
| 180 | /* 207 */ p_idefine,'r','3','d',' ','e','b','x',EOL, |
| 181 | /* 216 */ p_idefine,'r','4','d',' ','e','s','p',EOL, |
| 182 | /* 225 */ p_idefine,'r','5','d',' ','e','b','p',EOL, |
| 183 | /* 234 */ p_idefine,'r','6','d',' ','e','s','i',EOL, |
| 184 | /* 243 */ p_idefine,'r','7','d',' ','e','d','i',EOL, |
| 185 | /* 252 */ p_idefine,'r','0','w',' ','a','x',EOL, |
| 186 | /* 260 */ p_idefine,'r','1','w',' ','c','x',EOL, |
| 187 | /* 268 */ p_idefine,'r','2','w',' ','d','x',EOL, |
| 188 | /* 276 */ p_idefine,'r','3','w',' ','b','x',EOL, |
| 189 | /* 284 */ p_idefine,'r','4','w',' ','s','p',EOL, |
| 190 | /* 292 */ p_idefine,'r','5','w',' ','b','p',EOL, |
| 191 | /* 300 */ p_idefine,'r','6','w',' ','s','i',EOL, |
| 192 | /* 308 */ p_idefine,'r','7','w',' ','d','i',EOL, |
| 193 | /* 316 */ p_idefine,'r','0','b',' ','a','l',EOL, |
| 194 | /* 324 */ p_idefine,'r','1','b',' ','c','l',EOL, |
| 195 | /* 332 */ p_idefine,'r','2','b',' ','d','l',EOL, |
| 196 | /* 340 */ p_idefine,'r','3','b',' ','b','l',EOL, |
| 197 | /* 348 */ p_idefine,'r','4','b',' ','s','p','l',EOL, |
| 198 | /* 357 */ p_idefine,'r','5','b',' ','b','p','l',EOL, |
| 199 | /* 366 */ p_idefine,'r','6','b',' ','s','i','l',EOL, |
| 200 | /* 375 */ p_idefine,'r','7','b',' ','d','i','l',EOL, |
| 201 | /* 384 */ p_idefine,'r','0','l',' ','a','l',EOL, |
| 202 | /* 392 */ p_idefine,'r','1','l',' ','c','l',EOL, |
| 203 | /* 400 */ p_idefine,'r','2','l',' ','d','l',EOL, |
| 204 | /* 408 */ p_idefine,'r','3','l',' ','b','l',EOL, |
| 205 | /* 416 */ p_idefine,'r','4','l',' ','s','p','l',EOL, |
| 206 | /* 425 */ p_idefine,'r','5','l',' ','b','p','l',EOL, |
| 207 | /* 434 */ p_idefine,'r','6','l',' ','s','i','l',EOL, |
| 208 | /* 443 */ p_idefine,'r','7','l',' ','d','i','l',EOL, |
| 209 | /* 452 */ p_idefine,'r','0','h',' ','a','h',EOL, |
| 210 | /* 460 */ p_idefine,'r','1','h',' ','c','h',EOL, |
| 211 | /* 468 */ p_idefine,'r','2','h',' ','d','h',EOL, |
| 212 | /* 476 */ p_idefine,'r','3','h',' ','b','h',EOL, |
| 213 | /* 484 */ EOL |
Dale Curtis | 5f133c4 | 2018-10-29 17:05:33 -0700 | [diff] [blame] | 214 | }; |
| 215 | #endif |
| 216 | |
| 217 | #if 1 |
| 218 | static const unsigned char nasm_usemac_fp[] = { |
| 219 | /* From ./macros/fp.mac */ |
Dale Curtis | e293814 | 2020-06-29 15:29:48 -0700 | [diff] [blame] | 220 | /* 0 */ p_define,'_','_','?','U','S','E','_','F','P','?','_','_',EOL, |
| 221 | /* 0 */ p_defalias,'_','_','U','S','E','_','F','P','_','_',' ','_','_','?','U','S','E','F','P','?','_','_',EOL, |
| 222 | /* 24 */ p_define,'I','n','f',' ','_','_','?','I','n','f','i','n','i','t','y','?','_','_',EOL, |
| 223 | /* 44 */ p_define,'N','a','N',' ','_','_','?','Q','N','a','N','?','_','_',EOL, |
| 224 | /* 60 */ p_define,'Q','N','a','N',' ','_','_','?','Q','N','a','N','?','_','_',EOL, |
| 225 | /* 77 */ p_define,'S','N','a','N',' ','_','_','?','S','N','a','N','?','_','_',EOL, |
| 226 | /* 94 */ p_define,'f','l','o','a','t','8','(','x',')',' ','_','_','?','f','l','o','a','t','8','?','_','_','(','x',')',EOL, |
| 227 | /* 121 */ p_define,'f','l','o','a','t','1','6','(','x',')',' ','_','_','?','f','l','o','a','t','1','6','?','_','_','(','x',')',EOL, |
| 228 | /* 150 */ p_define,'f','l','o','a','t','3','2','(','x',')',' ','_','_','?','f','l','o','a','t','3','2','?','_','_','(','x',')',EOL, |
| 229 | /* 179 */ p_define,'f','l','o','a','t','6','4','(','x',')',' ','_','_','?','f','l','o','a','t','6','4','?','_','_','(','x',')',EOL, |
| 230 | /* 208 */ p_define,'f','l','o','a','t','8','0','m','(','x',')',' ','_','_','?','f','l','o','a','t','8','0','m','?','_','_','(','x',')',EOL, |
| 231 | /* 239 */ p_define,'f','l','o','a','t','8','0','e','(','x',')',' ','_','_','?','f','l','o','a','t','8','0','e','?','_','_','(','x',')',EOL, |
| 232 | /* 270 */ p_define,'f','l','o','a','t','1','2','8','l','(','x',')',' ','_','_','?','f','l','o','a','t','1','2','8','l','?','_','_','(','x',')',EOL, |
| 233 | /* 303 */ p_define,'f','l','o','a','t','1','2','8','h','(','x',')',' ','_','_','?','f','l','o','a','t','1','2','8','h','?','_','_','(','x',')',EOL, |
| 234 | /* 336 */ EOL |
Dale Curtis | 5f133c4 | 2018-10-29 17:05:33 -0700 | [diff] [blame] | 235 | }; |
| 236 | #endif |
| 237 | |
| 238 | #if 1 |
| 239 | static const unsigned char nasm_usemac_ifunc[] = { |
| 240 | /* From ./macros/ifunc.mac */ |
Dale Curtis | e293814 | 2020-06-29 15:29:48 -0700 | [diff] [blame] | 241 | /* 0 */ p_define,'_','_','?','U','S','E','_','I','F','U','N','C','?','_','_',EOL, |
| 242 | /* 0 */ p_defalias,'_','_','U','S','E','_','I','F','U','N','C','_','_',' ','_','_','?','U','S','E','I','F','U','N','C','?','_','_',EOL, |
| 243 | /* 30 */ p_idefine,'i','l','o','g','2','(','x',')',' ','(','_','_','?','i','l','o','g','2','e','?','_','_','(','x',')',')',EOL, |
| 244 | /* 58 */ p_idefine,'i','l','o','g','2','e','(','x',')',' ','(','_','_','?','i','l','o','g','2','e','?','_','_','(','x',')',')',EOL, |
| 245 | /* 87 */ p_idefine,'i','l','o','g','2','w','(','x',')',' ','(','_','_','?','i','l','o','g','2','w','?','_','_','(','x',')',')',EOL, |
| 246 | /* 116 */ p_idefine,'i','l','o','g','2','f','w','(','x',')',' ','(','_','_','?','i','l','o','g','2','w','?','_','_','(','x',')',')',EOL, |
| 247 | /* 146 */ p_idefine,'i','l','o','g','2','f','(','x',')',' ','(','_','_','?','i','l','o','g','2','f','?','_','_','(','x',')',')',EOL, |
| 248 | /* 175 */ p_idefine,'i','l','o','g','2','c','w','(','x',')',' ','(','_','_','?','i','l','o','g','2','w','?','_','_','(','x',')',' ','*',' ','0',' ','+',' ','_','_','?','i','l','o','g','2','c','?','_','_','(','x',')',')',EOL, |
| 249 | /* 227 */ p_idefine,'i','l','o','g','2','c','(','x',')',' ','(','_','_','?','i','l','o','g','2','c','?','_','_','(','x',')',')',EOL, |
| 250 | /* 256 */ EOL |
| 251 | }; |
| 252 | #endif |
| 253 | |
| 254 | #if 1 |
| 255 | static const unsigned char nasm_usemac_masm[] = { |
| 256 | /* From ./macros/masm.mac */ |
| 257 | /* 0 */ p_define,'_','_','?','U','S','E','_','M','A','S','M','?','_','_',EOL, |
| 258 | /* 0 */ p_defalias,'_','_','U','S','E','_','M','A','S','M','_','_',' ','_','_','?','U','S','E','M','A','S','M','?','_','_',EOL, |
| 259 | /* 28 */ p_unimacro,'s','e','g','m','e','n','t',' ','1','+',EOL, |
| 260 | /* 40 */ p_imacro,'s','e','g','m','e','n','t',' ','0','-','1','+','.','n','o','l','i','s','t',EOL, |
| 261 | /* 61 */ p_define,'_','_','?','S','E','C','T','?','_','_',' ','[','s','e','g','m','e','n','t',' ','%','0','0',' ','%','1',']',EOL, |
| 262 | /* 90 */ '_','_','?','S','E','C','T','?','_','_',EOL, |
| 263 | /* 101 */ p_endmacro,EOL, |
| 264 | /* 103 */ p_imacro,'e','n','d','s',' ','0','+','.','n','o','l','i','s','t',EOL, |
| 265 | /* 119 */ p_pragma,'i','g','n','o','r','e',' ','e','n','d','s',' ','%','0','0',EOL, |
| 266 | /* 136 */ p_endmacro,EOL, |
| 267 | /* 138 */ p_imacro,'p','r','o','c',' ','0','-','*','.','n','o','l','i','s','t',EOL, |
| 268 | /* 155 */ p_rep,'%','0',EOL, |
| 269 | /* 159 */ p_ifidni,'%','1',',','f','a','r',EOL, |
| 270 | /* 167 */ p_idefine,'r','e','t',' ','r','e','t','f',EOL, |
| 271 | /* 177 */ p_else,EOL, |
| 272 | /* 179 */ p_idefine,'r','e','t',' ','r','e','t','n',EOL, |
| 273 | /* 189 */ p_endif,EOL, |
| 274 | /* 191 */ p_rotate,'1',EOL, |
| 275 | /* 194 */ p_endrep,EOL, |
| 276 | /* 196 */ p_endmacro,EOL, |
| 277 | /* 198 */ p_imacro,'e','n','d','p',' ','0','.','n','o','l','i','s','t',EOL, |
| 278 | /* 213 */ p_pragma,'i','g','n','o','r','e',' ','e','n','d','p',' ','%','0','0',EOL, |
| 279 | /* 230 */ p_undef,'r','e','t',EOL, |
| 280 | /* 235 */ p_endmacro,EOL, |
| 281 | /* 237 */ p_idefine,'p','t','r',' ','_','_','?','m','a','s','m','_','p','t','r','?','_','_',EOL, |
| 282 | /* 257 */ p_idefine,'f','l','a','t',' ','_','_','?','m','a','s','m','_','f','l','a','t','?','_','_',EOL, |
| 283 | /* 279 */ p_idefine,'o','f','f','s','e','t',EOL, |
| 284 | /* 287 */ p_imacro,'e','n','d',' ','0','+','.','n','o','l','i','s','t',EOL, |
| 285 | /* 302 */ p_endmacro,EOL, |
| 286 | /* 304 */ p_idefine,'t','b','y','t','e',' ','t','w','o','r','d',EOL, |
| 287 | /* 317 */ 'd','e','f','a','u','l','t',' ','r','e','l',EOL, |
| 288 | /* 329 */ EOL |
Dale Curtis | 5f133c4 | 2018-10-29 17:05:33 -0700 | [diff] [blame] | 289 | }; |
| 290 | #endif |
| 291 | |
| 292 | #if 1 |
| 293 | static const unsigned char nasm_usemac_smartalign[] = { |
| 294 | /* From ./macros/smartalign.mac */ |
Dale Curtis | e293814 | 2020-06-29 15:29:48 -0700 | [diff] [blame] | 295 | /* 0 */ p_define,'_','_','?','U','S','E','_','S','M','A','R','T','A','L','I','G','N','?','_','_',EOL, |
| 296 | /* 0 */ p_defalias,'_','_','U','S','E','_','S','M','A','R','T','A','L','I','G','N','_','_',' ','_','_','?','U','S','E','S','M','A','R','T','A','L','I','G','N','?','_','_',EOL, |
| 297 | /* 40 */ p_imacro,'a','l','i','g','n','m','o','d','e',' ','1','-','2','.','n','o','l','i','s','t',EOL, |
| 298 | /* 62 */ p_ifidni,'%','1',',','n','o','p',EOL, |
| 299 | /* 70 */ p_define,'_','_','?','A','L','I','G','N','_','J','M','P','_','T','H','R','E','S','H','O','L','D','?','_','_',' ','1','6',EOL, |
| 300 | /* 100 */ p_define,'_','_','?','A','L','I','G','N','_','1','6','B','I','T','_','1','B','?','_','_',' ','0','x','9','0',EOL, |
| 301 | /* 127 */ p_define,'_','_','?','A','L','I','G','N','_','1','6','B','I','T','_','G','R','O','U','P','?','_','_',' ','1',EOL, |
| 302 | /* 154 */ p_define,'_','_','?','A','L','I','G','N','_','3','2','B','I','T','_','1','B','?','_','_',' ','0','x','9','0',EOL, |
| 303 | /* 181 */ p_define,'_','_','?','A','L','I','G','N','_','3','2','B','I','T','_','G','R','O','U','P','?','_','_',' ','1',EOL, |
| 304 | /* 208 */ p_define,'_','_','?','A','L','I','G','N','_','6','4','B','I','T','_','1','B','?','_','_',' ','0','x','9','0',EOL, |
| 305 | /* 235 */ p_define,'_','_','?','A','L','I','G','N','_','6','4','B','I','T','_','G','R','O','U','P','?','_','_',' ','1',EOL, |
| 306 | /* 262 */ p_elifidni,'%','1',',','g','e','n','e','r','i','c',EOL, |
| 307 | /* 274 */ p_define,'_','_','?','A','L','I','G','N','_','J','M','P','_','T','H','R','E','S','H','O','L','D','?','_','_',' ','8',EOL, |
| 308 | /* 303 */ p_define,'_','_','?','A','L','I','G','N','_','1','6','B','I','T','_','1','B','?','_','_',' ','0','x','9','0',EOL, |
| 309 | /* 330 */ p_define,'_','_','?','A','L','I','G','N','_','1','6','B','I','T','_','2','B','?','_','_',' ','0','x','8','9',',','0','x','f','6',EOL, |
| 310 | /* 362 */ p_define,'_','_','?','A','L','I','G','N','_','1','6','B','I','T','_','3','B','?','_','_',' ','0','x','8','d',',','0','x','7','4',',','0','x','0','0',EOL, |
| 311 | /* 399 */ p_define,'_','_','?','A','L','I','G','N','_','1','6','B','I','T','_','4','B','?','_','_',' ','0','x','8','d',',','0','x','b','4',',','0','x','0','0',',','0','x','0','0',EOL, |
| 312 | /* 441 */ p_define,'_','_','?','A','L','I','G','N','_','1','6','B','I','T','_','5','B','?','_','_',' ','0','x','8','d',',','0','x','b','4',',','0','x','0','0',',','0','x','0','0',',','0','x','9','0',EOL, |
| 313 | /* 488 */ p_define,'_','_','?','A','L','I','G','N','_','1','6','B','I','T','_','6','B','?','_','_',' ','0','x','8','d',',','0','x','b','4',',','0','x','0','0',',','0','x','0','0',',','0','x','8','9',',','0','x','f','f',EOL, |
| 314 | /* 540 */ p_define,'_','_','?','A','L','I','G','N','_','1','6','B','I','T','_','7','B','?','_','_',' ','0','x','8','d',',','0','x','b','4',',','0','x','0','0',',','0','x','0','0',',','0','x','8','d',',','0','x','7','d',',','0','x','0','0',EOL, |
| 315 | /* 597 */ p_define,'_','_','?','A','L','I','G','N','_','1','6','B','I','T','_','8','B','?','_','_',' ','0','x','8','d',',','0','x','b','4',',','0','x','0','0',',','0','x','0','0',',','0','x','8','d',',','0','x','b','d',',','0','x','0','0',',','0','x','0','0',EOL, |
| 316 | /* 659 */ p_define,'_','_','?','A','L','I','G','N','_','1','6','B','I','T','_','G','R','O','U','P','?','_','_',' ','8',EOL, |
| 317 | /* 686 */ p_define,'_','_','?','A','L','I','G','N','_','3','2','B','I','T','_','1','B','?','_','_',' ','0','x','9','0',EOL, |
| 318 | /* 713 */ p_define,'_','_','?','A','L','I','G','N','_','3','2','B','I','T','_','2','B','?','_','_',' ','0','x','8','9',',','0','x','f','6',EOL, |
| 319 | /* 745 */ p_define,'_','_','?','A','L','I','G','N','_','3','2','B','I','T','_','3','B','?','_','_',' ','0','x','8','d',',','0','x','7','6',',','0','x','0','0',EOL, |
| 320 | /* 782 */ p_define,'_','_','?','A','L','I','G','N','_','3','2','B','I','T','_','4','B','?','_','_',' ','0','x','8','d',',','0','x','7','4',',','0','x','2','6',',','0','x','0','0',EOL, |
| 321 | /* 824 */ p_define,'_','_','?','A','L','I','G','N','_','3','2','B','I','T','_','5','B','?','_','_',' ','0','x','9','0',',','0','x','8','d',',','0','x','7','4',',','0','x','2','6',',','0','x','0','0',EOL, |
| 322 | /* 871 */ p_define,'_','_','?','A','L','I','G','N','_','3','2','B','I','T','_','6','B','?','_','_',' ','0','x','8','d',',','0','x','b','6',',','0','x','0','0',',','0','x','0','0',',','0','x','0','0',',','0','x','0','0',EOL, |
| 323 | /* 923 */ p_define,'_','_','?','A','L','I','G','N','_','3','2','B','I','T','_','7','B','?','_','_',' ','0','x','8','d',',','0','x','b','4',',','0','x','2','6',',','0','x','0','0',',','0','x','0','0',',','0','x','0','0',',','0','x','0','0',EOL, |
| 324 | /* 980 */ p_define,'_','_','?','A','L','I','G','N','_','3','2','B','I','T','_','G','R','O','U','P','?','_','_',' ','7',EOL, |
| 325 | /* 1007 */ p_define,'_','_','?','A','L','I','G','N','_','6','4','B','I','T','_','1','B','?','_','_',' ','0','x','9','0',EOL, |
| 326 | /* 1034 */ p_define,'_','_','?','A','L','I','G','N','_','6','4','B','I','T','_','2','B','?','_','_',' ','0','x','6','6',',','0','x','9','0',EOL, |
| 327 | /* 1066 */ p_define,'_','_','?','A','L','I','G','N','_','6','4','B','I','T','_','3','B','?','_','_',' ','0','x','6','6',',','0','x','6','6',',','0','x','9','0',EOL, |
| 328 | /* 1103 */ p_define,'_','_','?','A','L','I','G','N','_','6','4','B','I','T','_','4','B','?','_','_',' ','0','x','6','6',',','0','x','6','6',',','0','x','6','6',',','0','x','9','0',EOL, |
| 329 | /* 1145 */ p_define,'_','_','?','A','L','I','G','N','_','6','4','B','I','T','_','G','R','O','U','P','?','_','_',' ','4',EOL, |
| 330 | /* 1172 */ p_elifidni,'%','1',',','k','8',EOL, |
| 331 | /* 1179 */ p_define,'_','_','?','A','L','I','G','N','_','J','M','P','_','T','H','R','E','S','H','O','L','D','?','_','_',' ','1','6',EOL, |
| 332 | /* 1209 */ p_define,'_','_','?','A','L','I','G','N','_','1','6','B','I','T','_','1','B','?','_','_',' ','0','x','9','0',EOL, |
| 333 | /* 1236 */ p_define,'_','_','?','A','L','I','G','N','_','1','6','B','I','T','_','2','B','?','_','_',' ','0','x','6','6',',','0','x','9','0',EOL, |
| 334 | /* 1268 */ p_define,'_','_','?','A','L','I','G','N','_','1','6','B','I','T','_','3','B','?','_','_',' ','0','x','6','6',',','0','x','6','6',',','0','x','9','0',EOL, |
| 335 | /* 1305 */ p_define,'_','_','?','A','L','I','G','N','_','1','6','B','I','T','_','4','B','?','_','_',' ','0','x','6','6',',','0','x','6','6',',','0','x','6','6',',','0','x','9','0',EOL, |
| 336 | /* 1347 */ p_define,'_','_','?','A','L','I','G','N','_','1','6','B','I','T','_','G','R','O','U','P','?','_','_',' ','4',EOL, |
| 337 | /* 1374 */ p_define,'_','_','?','A','L','I','G','N','_','3','2','B','I','T','_','1','B','?','_','_',' ','0','x','9','0',EOL, |
| 338 | /* 1401 */ p_define,'_','_','?','A','L','I','G','N','_','3','2','B','I','T','_','2','B','?','_','_',' ','0','x','6','6',',','0','x','9','0',EOL, |
| 339 | /* 1433 */ p_define,'_','_','?','A','L','I','G','N','_','3','2','B','I','T','_','3','B','?','_','_',' ','0','x','6','6',',','0','x','6','6',',','0','x','9','0',EOL, |
| 340 | /* 1470 */ p_define,'_','_','?','A','L','I','G','N','_','3','2','B','I','T','_','4','B','?','_','_',' ','0','x','6','6',',','0','x','6','6',',','0','x','6','6',',','0','x','9','0',EOL, |
| 341 | /* 1512 */ p_define,'_','_','?','A','L','I','G','N','_','3','2','B','I','T','_','G','R','O','U','P','?','_','_',' ','4',EOL, |
| 342 | /* 1539 */ p_define,'_','_','?','A','L','I','G','N','_','6','4','B','I','T','_','1','B','?','_','_',' ','0','x','9','0',EOL, |
| 343 | /* 1566 */ p_define,'_','_','?','A','L','I','G','N','_','6','4','B','I','T','_','2','B','?','_','_',' ','0','x','6','6',',','0','x','9','0',EOL, |
| 344 | /* 1598 */ p_define,'_','_','?','A','L','I','G','N','_','6','4','B','I','T','_','3','B','?','_','_',' ','0','x','6','6',',','0','x','6','6',',','0','x','9','0',EOL, |
| 345 | /* 1635 */ p_define,'_','_','?','A','L','I','G','N','_','6','4','B','I','T','_','4','B','?','_','_',' ','0','x','6','6',',','0','x','6','6',',','0','x','6','6',',','0','x','9','0',EOL, |
| 346 | /* 1677 */ p_define,'_','_','?','A','L','I','G','N','_','6','4','B','I','T','_','G','R','O','U','P','?','_','_',' ','4',EOL, |
| 347 | /* 1704 */ p_elifidni,'%','1',',','k','7',EOL, |
| 348 | /* 1711 */ p_define,'_','_','?','A','L','I','G','N','_','J','M','P','_','T','H','R','E','S','H','O','L','D','?','_','_',' ','1','6',EOL, |
| 349 | /* 1741 */ p_define,'_','_','?','A','L','I','G','N','_','1','6','B','I','T','_','1','B','?','_','_',' ','0','x','9','0',EOL, |
| 350 | /* 1768 */ p_define,'_','_','?','A','L','I','G','N','_','1','6','B','I','T','_','2','B','?','_','_',' ','0','x','6','6',',','0','x','9','0',EOL, |
| 351 | /* 1800 */ p_define,'_','_','?','A','L','I','G','N','_','1','6','B','I','T','_','3','B','?','_','_',' ','0','x','6','6',',','0','x','6','6',',','0','x','9','0',EOL, |
| 352 | /* 1837 */ p_define,'_','_','?','A','L','I','G','N','_','1','6','B','I','T','_','4','B','?','_','_',' ','0','x','6','6',',','0','x','6','6',',','0','x','6','6',',','0','x','9','0',EOL, |
| 353 | /* 1879 */ p_define,'_','_','?','A','L','I','G','N','_','6','4','B','I','T','_','G','R','O','U','P','?','_','_',' ','4',EOL, |
| 354 | /* 1906 */ p_define,'_','_','?','A','L','I','G','N','_','3','2','B','I','T','_','1','B','?','_','_',' ','0','x','9','0',EOL, |
| 355 | /* 1933 */ p_define,'_','_','?','A','L','I','G','N','_','3','2','B','I','T','_','2','B','?','_','_',' ','0','x','8','b',',','0','x','c','0',EOL, |
| 356 | /* 1965 */ p_define,'_','_','?','A','L','I','G','N','_','3','2','B','I','T','_','3','B','?','_','_',' ','0','x','8','d',',','0','x','0','4',',','0','x','2','0',EOL, |
| 357 | /* 2002 */ p_define,'_','_','?','A','L','I','G','N','_','3','2','B','I','T','_','4','B','?','_','_',' ','0','x','8','d',',','0','x','4','4',',','0','x','2','0',',','0','x','0','0',EOL, |
| 358 | /* 2044 */ p_define,'_','_','?','A','L','I','G','N','_','3','2','B','I','T','_','5','B','?','_','_',' ','0','x','8','d',',','0','x','4','4',',','0','x','2','0',',','0','x','0','0',',','0','x','9','0',EOL, |
| 359 | /* 2091 */ p_define,'_','_','?','A','L','I','G','N','_','3','2','B','I','T','_','6','B','?','_','_',' ','0','x','8','d',',','0','x','8','0',',','0','x','0','0',',','0','x','0','0',',','0','x','0','0',',','0','x','0','0',EOL, |
| 360 | /* 2143 */ p_define,'_','_','?','A','L','I','G','N','_','3','2','B','I','T','_','7','B','?','_','_',' ','0','x','8','d',',','0','x','0','4',',','0','x','0','5',',','0','x','0','0',',','0','x','0','0',',','0','x','0','0',',','0','x','0','0',EOL, |
| 361 | /* 2200 */ p_define,'_','_','?','A','L','I','G','N','_','3','2','B','I','T','_','G','R','O','U','P','?','_','_',' ','7',EOL, |
| 362 | /* 2227 */ p_define,'_','_','?','A','L','I','G','N','_','6','4','B','I','T','_','1','B','?','_','_',' ','0','x','9','0',EOL, |
| 363 | /* 2254 */ p_define,'_','_','?','A','L','I','G','N','_','6','4','B','I','T','_','2','B','?','_','_',' ','0','x','6','6',',','0','x','9','0',EOL, |
| 364 | /* 2286 */ p_define,'_','_','?','A','L','I','G','N','_','6','4','B','I','T','_','3','B','?','_','_',' ','0','x','6','6',',','0','x','6','6',',','0','x','9','0',EOL, |
| 365 | /* 2323 */ p_define,'_','_','?','A','L','I','G','N','_','6','4','B','I','T','_','4','B','?','_','_',' ','0','x','6','6',',','0','x','6','6',',','0','x','6','6',',','0','x','9','0',EOL, |
| 366 | /* 2365 */ p_define,'_','_','?','A','L','I','G','N','_','6','4','B','I','T','_','G','R','O','U','P','?','_','_',' ','4',EOL, |
| 367 | /* 2392 */ p_elifidni,'%','1',',','p','6',EOL, |
| 368 | /* 2399 */ p_define,'_','_','?','A','L','I','G','N','_','J','M','P','_','T','H','R','E','S','H','O','L','D','?','_','_',' ','1','6',EOL, |
| 369 | /* 2429 */ p_define,'_','_','?','A','L','I','G','N','_','1','6','B','I','T','_','1','B','?','_','_',' ','0','x','9','0',EOL, |
| 370 | /* 2456 */ p_define,'_','_','?','A','L','I','G','N','_','1','6','B','I','T','_','2','B','?','_','_',' ','0','x','6','6',',','0','x','9','0',EOL, |
| 371 | /* 2488 */ p_define,'_','_','?','A','L','I','G','N','_','1','6','B','I','T','_','3','B','?','_','_',' ','0','x','0','f',',','0','x','1','f',',','0','x','0','0',EOL, |
| 372 | /* 2525 */ p_define,'_','_','?','A','L','I','G','N','_','1','6','B','I','T','_','4','B','?','_','_',' ','0','x','0','f',',','0','x','1','f',',','0','x','4','0',',','0','x','0','0',EOL, |
| 373 | /* 2567 */ p_define,'_','_','?','A','L','I','G','N','_','1','6','B','I','T','_','G','R','O','U','P','?','_','_',' ','4',EOL, |
| 374 | /* 2594 */ p_define,'_','_','?','A','L','I','G','N','_','3','2','B','I','T','_','1','B','?','_','_',' ','0','x','9','0',EOL, |
| 375 | /* 2621 */ p_define,'_','_','?','A','L','I','G','N','_','3','2','B','I','T','_','2','B','?','_','_',' ','0','x','6','6',',','0','x','9','0',EOL, |
| 376 | /* 2653 */ p_define,'_','_','?','A','L','I','G','N','_','3','2','B','I','T','_','3','B','?','_','_',' ','0','x','0','f',',','0','x','1','f',',','0','x','0','0',EOL, |
| 377 | /* 2690 */ p_define,'_','_','?','A','L','I','G','N','_','3','2','B','I','T','_','4','B','?','_','_',' ','0','x','0','f',',','0','x','1','f',',','0','x','4','0',',','0','x','0','0',EOL, |
| 378 | /* 2732 */ p_define,'_','_','?','A','L','I','G','N','_','3','2','B','I','T','_','5','B','?','_','_',' ','0','x','0','f',',','0','x','1','f',',','0','x','4','4',',','0','x','0','0',',','0','x','0','0',EOL, |
| 379 | /* 2779 */ p_define,'_','_','?','A','L','I','G','N','_','3','2','B','I','T','_','6','B','?','_','_',' ','0','x','6','6',',','0','x','0','f',',','0','x','1','f',',','0','x','4','4',',','0','x','0','0',',','0','x','0','0',EOL, |
| 380 | /* 2831 */ p_define,'_','_','?','A','L','I','G','N','_','3','2','B','I','T','_','7','B','?','_','_',' ','0','x','0','f',',','0','x','1','f',',','0','x','8','0',',','0','x','0','0',',','0','x','0','0',',','0','x','0','0',',','0','x','0','0',EOL, |
| 381 | /* 2888 */ p_define,'_','_','?','A','L','I','G','N','_','3','2','B','I','T','_','8','B','?','_','_',' ','0','x','0','f',',','0','x','1','f',',','0','x','8','4',',','0','x','0','0',',','0','x','0','0',',','0','x','0','0',',','0','x','0','0',',','0','x','0','0',EOL, |
| 382 | /* 2950 */ p_define,'_','_','?','A','L','I','G','N','_','3','2','B','I','T','_','G','R','O','U','P','?','_','_',' ','8',EOL, |
| 383 | /* 2977 */ p_define,'_','_','?','A','L','I','G','N','_','6','4','B','I','T','_','1','B','?','_','_',' ','0','x','9','0',EOL, |
| 384 | /* 3004 */ p_define,'_','_','?','A','L','I','G','N','_','6','4','B','I','T','_','2','B','?','_','_',' ','0','x','6','6',',','0','x','9','0',EOL, |
| 385 | /* 3036 */ p_define,'_','_','?','A','L','I','G','N','_','6','4','B','I','T','_','3','B','?','_','_',' ','0','x','0','f',',','0','x','1','f',',','0','x','0','0',EOL, |
| 386 | /* 3073 */ p_define,'_','_','?','A','L','I','G','N','_','6','4','B','I','T','_','4','B','?','_','_',' ','0','x','0','f',',','0','x','1','f',',','0','x','4','0',',','0','x','0','0',EOL, |
| 387 | /* 3115 */ p_define,'_','_','?','A','L','I','G','N','_','6','4','B','I','T','_','5','B','?','_','_',' ','0','x','0','f',',','0','x','1','f',',','0','x','4','4',',','0','x','0','0',',','0','x','0','0',EOL, |
| 388 | /* 3162 */ p_define,'_','_','?','A','L','I','G','N','_','6','4','B','I','T','_','6','B','?','_','_',' ','0','x','6','6',',','0','x','0','f',',','0','x','1','f',',','0','x','4','4',',','0','x','0','0',',','0','x','0','0',EOL, |
| 389 | /* 3214 */ p_define,'_','_','?','A','L','I','G','N','_','6','4','B','I','T','_','7','B','?','_','_',' ','0','x','0','f',',','0','x','1','f',',','0','x','8','0',',','0','x','0','0',',','0','x','0','0',',','0','x','0','0',',','0','x','0','0',EOL, |
| 390 | /* 3271 */ p_define,'_','_','?','A','L','I','G','N','_','6','4','B','I','T','_','8','B','?','_','_',' ','0','x','0','f',',','0','x','1','f',',','0','x','8','4',',','0','x','0','0',',','0','x','0','0',',','0','x','0','0',',','0','x','0','0',',','0','x','0','0',EOL, |
| 391 | /* 3333 */ p_define,'_','_','?','A','L','I','G','N','_','6','4','B','I','T','_','G','R','O','U','P','?','_','_',' ','8',EOL, |
| 392 | /* 3360 */ p_else,EOL, |
| 393 | /* 3362 */ p_error,'u','n','k','n','o','w','n',' ','a','l','i','g','n','m','e','n','t',' ','m','o','d','e',':',' ','%','1',EOL, |
| 394 | /* 3390 */ p_endif,EOL, |
| 395 | /* 3392 */ p_ifnempty,'%','2',EOL, |
| 396 | /* 3396 */ p_ifidni,'%','2',',','n','o','j','m','p',EOL, |
| 397 | /* 3406 */ p_xdefine,'_','_','?','A','L','I','G','N','_','J','M','P','_','T','H','R','E','S','H','O','L','D','?','_','_',' ','-','1',EOL, |
| 398 | /* 3436 */ p_else,EOL, |
| 399 | /* 3438 */ p_xdefine,'_','_','?','A','L','I','G','N','_','J','M','P','_','T','H','R','E','S','H','O','L','D','?','_','_',' ','%','2',EOL, |
| 400 | /* 3468 */ p_endif,EOL, |
| 401 | /* 3470 */ p_endif,EOL, |
| 402 | /* 3472 */ p_xdefine,'_','_','?','A','L','I','G','N','M','O','D','E','?','_','_',' ','%','1',',','_','_','?','A','L','I','G','N','_','J','M','P','_','T','H','R','E','S','H','O','L','D','?','_','_',EOL, |
| 403 | /* 3518 */ p_endmacro,EOL, |
| 404 | /* 3520 */ p_defalias,'_','_','A','L','I','G','N','M','O','D','E','_','_',' ','_','_','?','A','L','I','G','N','M','O','D','E','?','_','_',EOL, |
| 405 | /* 3551 */ p_unimacro,'a','l','i','g','n',' ','1','-','2','+','.','n','o','l','i','s','t',EOL, |
| 406 | /* 3570 */ p_imacro,'a','l','i','g','n',' ','1','-','2','+','.','n','o','l','i','s','t',EOL, |
| 407 | /* 3589 */ 's','e','c','t','a','l','i','g','n',' ','%','1',EOL, |
| 408 | /* 3602 */ p_ifnempty,'%','2',EOL, |
| 409 | /* 3606 */ 't','i','m','e','s',' ','(','(','(','%','1',')',' ','-',' ','(','(','$','-','$','$',')',' ','%',' ','(','%','1',')',')',')',' ','%',' ','(','%','1',')',')',' ','%','2',EOL, |
| 410 | /* 3649 */ p_elif,'_','_','?','P','A','S','S','?','_','_',' ','=','=',' ','0',' ','|','|',' ','_','_','?','P','A','S','S','?','_','_',' ','=','=',' ','3',EOL, |
| 411 | /* 3685 */ 't','i','m','e','s',' ','(','(','(','%','1',')',' ','-',' ','(','(','$','-','$','$',')',' ','%',' ','(','%','1',')',')',')',' ','%',' ','(','%','1',')',')',' ','n','o','p',EOL, |
| 412 | /* 3729 */ p_else,EOL, |
| 413 | /* 3731 */ p_push,EOL, |
| 414 | /* 3733 */ p_assign,'%','$','p','a','d',' ','(','(','(','%','1',')',' ','-',' ','(','(','$','-','$','$',')',' ','%',' ','(','%','1',')',')',')',' ','%',' ','(','%','1',')',')',EOL, |
| 415 | /* 3774 */ p_if,'_','_','?','A','L','I','G','N','_','J','M','P','_','T','H','R','E','S','H','O','L','D','?','_','_',' ','!','=',' ','-','1',' ','&','&',' ','%','$','p','a','d',' ','>',' ','_','_','?','A','L','I','G','N','_','J','M','P','_','T','H','R','E','S','H','O','L','D','?','_','_',EOL, |
| 416 | /* 3844 */ 'j','m','p',' ','%','$','e','n','d',EOL, |
| 417 | /* 3854 */ 't','i','m','e','s',' ','(','(','(','%','1',')',' ','-',' ','(','(','$','-','$','$',')',' ','%',' ','(','%','1',')',')',')',' ','%',' ','(','%','1',')',')',' ','n','o','p',EOL, |
| 418 | /* 3898 */ p_else,EOL, |
| 419 | /* 3900 */ 't','i','m','e','s',' ','(','%','$','p','a','d',' ','/',' ','_','_','?','A','L','I','G','N','_','%','[','_','_','?','B','I','T','S','?','_','_',']','B','I','T','_','G','R','O','U','P','?','_','_',')',' ','d','b',' ','_','_','?','A','L','I','G','N','_','%','[','_','_','?','B','I','T','S','?','_','_',']','B','I','T','_','%','[','_','_','?','A','L','I','G','N','_','%','[','_','_','?','B','I','T','S','?','_','_',']','B','I','T','_','G','R','O','U','P','?','_','_',']','B','?','_','_',EOL, |
| 420 | /* 4022 */ p_assign,'%','$','p','a','d',' ','%','$','p','a','d',' ','%',' ','_','_','?','A','L','I','G','N','_','%','[','_','_','?','B','I','T','S','?','_','_',']','B','I','T','_','G','R','O','U','P','?','_','_',EOL, |
| 421 | /* 4072 */ p_if,'%','$','p','a','d',' ','>',' ','0',EOL, |
| 422 | /* 4083 */ 'd','b',' ','_','_','?','A','L','I','G','N','_','%','[','_','_','?','B','I','T','S','?','_','_',']','B','I','T','_','%','[','%','$','p','a','d',']','B','?','_','_',EOL, |
| 423 | /* 4125 */ p_endif,EOL, |
| 424 | /* 4127 */ p_endif,EOL, |
| 425 | /* 4129 */ '%','$','e','n','d',':',EOL, |
| 426 | /* 4136 */ p_pop,EOL, |
| 427 | /* 4138 */ p_endif,EOL, |
| 428 | /* 4140 */ p_endmacro,EOL, |
| 429 | /* 4142 */ 'a','l','i','g','n','m','o','d','e',' ','g','e','n','e','r','i','c',EOL, |
| 430 | /* 4160 */ EOL |
Dale Curtis | 5f133c4 | 2018-10-29 17:05:33 -0700 | [diff] [blame] | 431 | }; |
| 432 | #endif |
| 433 | |
| 434 | #if 1 |
| 435 | const unsigned char nasm_stdmac_tasm[] = { |
| 436 | /* From ./macros/standard.mac */ |
Dale Curtis | e293814 | 2020-06-29 15:29:48 -0700 | [diff] [blame] | 437 | /* 0 */ p_idefine,'I','D','E','A','L',EOL, |
| 438 | /* 7 */ p_idefine,'J','U','M','P','S',EOL, |
| 439 | /* 14 */ p_idefine,'P','3','8','6',EOL, |
| 440 | /* 20 */ p_idefine,'P','4','8','6',EOL, |
| 441 | /* 26 */ p_idefine,'P','5','8','6',EOL, |
| 442 | /* 32 */ p_idefine,'E','N','D',EOL, |
| 443 | /* 37 */ EOL |
Dale Curtis | 5f133c4 | 2018-10-29 17:05:33 -0700 | [diff] [blame] | 444 | }; |
| 445 | #endif |
| 446 | |
| 447 | #if 1 |
| 448 | const unsigned char nasm_stdmac_nasm[] = { |
| 449 | /* From ./macros/standard.mac */ |
Dale Curtis | e293814 | 2020-06-29 15:29:48 -0700 | [diff] [blame] | 450 | /* 0 */ p_define,'_','_','?','S','E','C','T','?','_','_',EOL, |
| 451 | /* 12 */ p_defalias,'_','_','S','E','C','T','_','_',' ','_','_','?','S','E','C','T','?','_','_',EOL, |
| 452 | /* 33 */ p_imacro,'s','e','c','t','i','o','n',' ','1','+','.','n','o','l','i','s','t',EOL, |
| 453 | /* 52 */ p_define,'_','_','?','S','E','C','T','?','_','_',' ','[','s','e','c','t','i','o','n',' ','%','1',']',EOL, |
| 454 | /* 77 */ '_','_','?','S','E','C','T','?','_','_',EOL, |
| 455 | /* 88 */ p_endmacro,EOL, |
| 456 | /* 90 */ p_imacro,'s','e','g','m','e','n','t',' ','1','+','.','n','o','l','i','s','t',EOL, |
| 457 | /* 109 */ p_define,'_','_','?','S','E','C','T','?','_','_',' ','[','s','e','g','m','e','n','t',' ','%','1',']',EOL, |
| 458 | /* 134 */ '_','_','?','S','E','C','T','?','_','_',EOL, |
| 459 | /* 145 */ p_endmacro,EOL, |
| 460 | /* 147 */ p_define,'_','_','?','S','E','C','T','A','L','I','G','N','_','A','L','I','G','N','_','U','P','D','A','T','E','S','_','S','E','C','T','I','O','N','?','_','_',' ','1',EOL, |
| 461 | /* 188 */ p_imacro,'s','e','c','t','a','l','i','g','n',' ','1','+','.','n','o','l','i','s','t',EOL, |
| 462 | /* 209 */ p_ifidni,'%','1',',','o','f','f',EOL, |
| 463 | /* 217 */ p_define,'_','_','?','S','E','C','T','A','L','I','G','N','_','A','L','I','G','N','_','U','P','D','A','T','E','S','_','S','E','C','T','I','O','N','?','_','_',' ','0',EOL, |
| 464 | /* 258 */ p_elifidni,'%','1',',','o','n',EOL, |
| 465 | /* 265 */ p_define,'_','_','?','S','E','C','T','A','L','I','G','N','_','A','L','I','G','N','_','U','P','D','A','T','E','S','_','S','E','C','T','I','O','N','?','_','_',' ','1',EOL, |
| 466 | /* 306 */ p_else,EOL, |
| 467 | /* 308 */ '[','s','e','c','t','a','l','i','g','n',' ','%','1',']',EOL, |
| 468 | /* 323 */ p_endif,EOL, |
| 469 | /* 325 */ p_endmacro,EOL, |
| 470 | /* 327 */ p_defalias,'_','_','S','E','C','T','A','L','I','G','N','_','A','L','I','G','N','_','U','P','D','A','T','E','S','_','S','E','C','T','I','O','N','_','_',' ','_','_','?','S','E','C','T','A','L','I','G','N','_','A','L','I','G','N','_','U','P','D','A','T','E','S','_','S','E','C','T','I','O','N','?','_','_',EOL, |
| 471 | /* 402 */ p_imacro,'a','b','s','o','l','u','t','e',' ','1','+','.','n','o','l','i','s','t',EOL, |
| 472 | /* 422 */ p_define,'_','_','?','S','E','C','T','?','_','_',' ','[','a','b','s','o','l','u','t','e',' ','%','1',']',EOL, |
| 473 | /* 448 */ '_','_','?','S','E','C','T','?','_','_',EOL, |
| 474 | /* 459 */ p_endmacro,EOL, |
| 475 | /* 461 */ p_imacro,'s','t','r','u','c',' ','1','-','2','.','n','o','l','i','s','t',' ','0',EOL, |
| 476 | /* 481 */ p_push,EOL, |
| 477 | /* 483 */ p_define,'%','$','s','t','r','u','c','n','a','m','e',' ','%','1',EOL, |
| 478 | /* 499 */ '[','a','b','s','o','l','u','t','e',' ','%','2',']',EOL, |
| 479 | /* 513 */ '%','$','s','t','r','u','c','n','a','m','e',':',EOL, |
| 480 | /* 526 */ p_endmacro,EOL, |
| 481 | /* 528 */ p_imacro,'e','n','d','s','t','r','u','c',' ','0','.','n','o','l','i','s','t',EOL, |
| 482 | /* 547 */ '%','{','$','s','t','r','u','c','n','a','m','e','}','_','s','i','z','e',' ','e','q','u',' ','(','$','-','%','$','s','t','r','u','c','n','a','m','e',')',EOL, |
| 483 | /* 586 */ p_pop,EOL, |
| 484 | /* 588 */ '_','_','?','S','E','C','T','?','_','_',EOL, |
| 485 | /* 599 */ p_endmacro,EOL, |
| 486 | /* 601 */ p_imacro,'i','s','t','r','u','c',' ','1','.','n','o','l','i','s','t',EOL, |
| 487 | /* 618 */ p_push,EOL, |
| 488 | /* 620 */ p_define,'%','$','s','t','r','u','c','n','a','m','e',' ','%','1',EOL, |
| 489 | /* 636 */ '%','$','s','t','r','u','c','s','t','a','r','t',':',EOL, |
| 490 | /* 650 */ p_endmacro,EOL, |
| 491 | /* 652 */ p_imacro,'a','t',' ','1','-','2','+','.','n','o','l','i','s','t',EOL, |
| 492 | /* 668 */ 't','i','m','e','s',' ','(','%','1','-','%','$','s','t','r','u','c','n','a','m','e',')','-','(','$','-','%','$','s','t','r','u','c','s','t','a','r','t',')',' ','d','b',' ','0',EOL, |
| 493 | /* 713 */ '%','2',EOL, |
| 494 | /* 716 */ p_endmacro,EOL, |
| 495 | /* 718 */ p_imacro,'i','e','n','d',' ','0','.','n','o','l','i','s','t',EOL, |
| 496 | /* 733 */ 't','i','m','e','s',' ','%','{','$','s','t','r','u','c','n','a','m','e','}','_','s','i','z','e','-','(','$','-','%','$','s','t','r','u','c','s','t','a','r','t',')',' ','d','b',' ','0',EOL, |
| 497 | /* 780 */ p_pop,EOL, |
| 498 | /* 782 */ p_endmacro,EOL, |
| 499 | /* 784 */ p_imacro,'a','l','i','g','n',' ','1','-','2','+','.','n','o','l','i','s','t',' ','n','o','p',EOL, |
| 500 | /* 807 */ p_if,'_','_','?','S','E','C','T','A','L','I','G','N','_','A','L','I','G','N','_','U','P','D','A','T','E','S','_','S','E','C','T','I','O','N','?','_','_',EOL, |
| 501 | /* 846 */ 's','e','c','t','a','l','i','g','n',' ','%','1',EOL, |
| 502 | /* 859 */ p_endif,EOL, |
| 503 | /* 861 */ 't','i','m','e','s',' ','(','(','(','%','1',')',' ','-',' ','(','(','$','-','$','$',')',' ','%',' ','(','%','1',')',')',')',' ','%',' ','(','%','1',')',')',' ','%','2',EOL, |
| 504 | /* 904 */ p_endmacro,EOL, |
| 505 | /* 906 */ p_imacro,'a','l','i','g','n','b',' ','1','-','2','+','.','n','o','l','i','s','t',EOL, |
| 506 | /* 926 */ p_if,'_','_','?','S','E','C','T','A','L','I','G','N','_','A','L','I','G','N','_','U','P','D','A','T','E','S','_','S','E','C','T','I','O','N','?','_','_',EOL, |
| 507 | /* 965 */ 's','e','c','t','a','l','i','g','n',' ','%','1',EOL, |
| 508 | /* 978 */ p_endif,EOL, |
| 509 | /* 980 */ p_ifempty,'%','2',EOL, |
| 510 | /* 984 */ '[','w','a','r','n','i','n','g',' ','p','u','s','h',']',EOL, |
| 511 | /* 999 */ '[','w','a','r','n','i','n','g',' ','-','z','e','r','o','i','n','g',']',EOL, |
| 512 | /* 1018 */ 'r','e','s','b',' ','(','(','(','%','1',')',' ','-',' ','(','(','$','-','$','$',')',' ','%',' ','(','%','1',')',')',')',' ','%',' ','(','%','1',')',')',EOL, |
| 513 | /* 1057 */ '[','w','a','r','n','i','n','g',' ','p','o','p',']',EOL, |
| 514 | /* 1071 */ p_else,EOL, |
| 515 | /* 1073 */ 't','i','m','e','s',' ','(','(','(','%','1',')',' ','-',' ','(','(','$','-','$','$',')',' ','%',' ','(','%','1',')',')',')',' ','%',' ','(','%','1',')',')',' ','%','2',EOL, |
| 516 | /* 1116 */ p_endif,EOL, |
| 517 | /* 1118 */ p_endmacro,EOL, |
| 518 | /* 1120 */ p_imacro,'b','i','t','s',' ','1','+','.','n','o','l','i','s','t',EOL, |
| 519 | /* 1136 */ '[','b','i','t','s',' ','%','1',']',EOL, |
| 520 | /* 1146 */ p_endmacro,EOL, |
| 521 | /* 1148 */ p_imacro,'u','s','e','1','6',' ','0','.','n','o','l','i','s','t',EOL, |
| 522 | /* 1164 */ '[','b','i','t','s',' ','1','6',']',EOL, |
| 523 | /* 1174 */ p_endmacro,EOL, |
| 524 | /* 1176 */ p_imacro,'u','s','e','3','2',' ','0','.','n','o','l','i','s','t',EOL, |
| 525 | /* 1192 */ '[','b','i','t','s',' ','3','2',']',EOL, |
| 526 | /* 1202 */ p_endmacro,EOL, |
| 527 | /* 1204 */ p_imacro,'u','s','e','6','4',' ','0','.','n','o','l','i','s','t',EOL, |
| 528 | /* 1220 */ '[','b','i','t','s',' ','6','4',']',EOL, |
| 529 | /* 1230 */ p_endmacro,EOL, |
| 530 | /* 1232 */ p_imacro,'e','x','t','e','r','n',' ','1','-','*','.','n','o','l','i','s','t',EOL, |
| 531 | /* 1251 */ p_rep,'%','0',EOL, |
| 532 | /* 1255 */ '[','e','x','t','e','r','n',' ','%','1',']',EOL, |
| 533 | /* 1267 */ p_rotate,'1',EOL, |
| 534 | /* 1270 */ p_endrep,EOL, |
| 535 | /* 1272 */ p_endmacro,EOL, |
| 536 | /* 1274 */ p_imacro,'s','t','a','t','i','c',' ','1','-','*','.','n','o','l','i','s','t',EOL, |
| 537 | /* 1293 */ p_rep,'%','0',EOL, |
| 538 | /* 1297 */ '[','s','t','a','t','i','c',' ','%','1',']',EOL, |
| 539 | /* 1309 */ p_rotate,'1',EOL, |
| 540 | /* 1312 */ p_endrep,EOL, |
| 541 | /* 1314 */ p_endmacro,EOL, |
| 542 | /* 1316 */ p_imacro,'g','l','o','b','a','l',' ','1','-','*','.','n','o','l','i','s','t',EOL, |
| 543 | /* 1335 */ p_rep,'%','0',EOL, |
| 544 | /* 1339 */ '[','g','l','o','b','a','l',' ','%','1',']',EOL, |
| 545 | /* 1351 */ p_rotate,'1',EOL, |
| 546 | /* 1354 */ p_endrep,EOL, |
| 547 | /* 1356 */ p_endmacro,EOL, |
| 548 | /* 1358 */ p_imacro,'r','e','q','u','i','r','e','d',' ','1','-','*','.','n','o','l','i','s','t',EOL, |
| 549 | /* 1379 */ p_rep,'%','0',EOL, |
| 550 | /* 1383 */ '[','r','e','q','u','i','r','e','d',' ','%','1',']',EOL, |
| 551 | /* 1397 */ p_rotate,'1',EOL, |
| 552 | /* 1400 */ p_endrep,EOL, |
| 553 | /* 1402 */ p_endmacro,EOL, |
| 554 | /* 1404 */ p_imacro,'c','o','m','m','o','n',' ','1','-','*','.','n','o','l','i','s','t',EOL, |
| 555 | /* 1423 */ p_rep,'%','0',EOL, |
| 556 | /* 1427 */ '[','c','o','m','m','o','n',' ','%','1',']',EOL, |
| 557 | /* 1439 */ p_rotate,'1',EOL, |
| 558 | /* 1442 */ p_endrep,EOL, |
| 559 | /* 1444 */ p_endmacro,EOL, |
| 560 | /* 1446 */ p_imacro,'c','p','u',' ','1','+','.','n','o','l','i','s','t',EOL, |
| 561 | /* 1461 */ '[','c','p','u',' ','%','1',']',EOL, |
| 562 | /* 1470 */ p_endmacro,EOL, |
| 563 | /* 1472 */ p_define,'_','_','?','F','L','O','A','T','_','D','A','Z','?','_','_',' ','n','o','d','a','z',EOL, |
| 564 | /* 1495 */ p_define,'_','_','?','F','L','O','A','T','_','R','O','U','N','D','?','_','_',' ','n','e','a','r',EOL, |
| 565 | /* 1519 */ p_define,'_','_','?','F','L','O','A','T','?','_','_',' ','_','_','?','F','L','O','A','T','_','D','A','Z','?','_','_',',','_','_','?','F','L','O','A','T','_','R','O','U','N','D','?','_','_',EOL, |
| 566 | /* 1566 */ p_defalias,'_','_','F','L','O','A','T','_','D','A','Z','_','_',' ','_','_','?','F','L','O','A','T','_','D','A','Z','?','_','_',EOL, |
| 567 | /* 1597 */ p_defalias,'_','_','F','L','O','A','T','_','R','O','U','N','D','_','_',' ','_','_','?','F','L','O','A','T','_','R','O','U','N','D','?','_','_',EOL, |
| 568 | /* 1632 */ p_defalias,'_','_','F','L','O','A','T','_','_',' ','_','_','?','F','L','O','A','T','?','_','_',EOL, |
| 569 | /* 1655 */ p_imacro,'f','l','o','a','t',' ','1','-','*','.','n','o','l','i','s','t',EOL, |
| 570 | /* 1673 */ p_rep,'%','0',EOL, |
| 571 | /* 1677 */ '[','f','l','o','a','t',' ','%','1',']',EOL, |
| 572 | /* 1688 */ p_ifidni,'%','1',',','d','a','z',EOL, |
| 573 | /* 1696 */ p_define,'_','_','?','F','L','O','A','T','_','D','A','Z','?','_','_',' ','d','a','z',EOL, |
| 574 | /* 1717 */ p_elifidni,'%','1',',','n','o','d','a','z',EOL, |
| 575 | /* 1727 */ p_define,'_','_','?','F','L','O','A','T','_','D','A','Z','?','_','_',' ','n','o','d','a','z',EOL, |
| 576 | /* 1750 */ p_elifidni,'%','1',',','n','e','a','r',EOL, |
| 577 | /* 1759 */ p_define,'_','_','?','F','L','O','A','T','_','R','O','U','N','D','?','_','_',' ','n','e','a','r',EOL, |
| 578 | /* 1783 */ p_elifidni,'%','1',',','u','p',EOL, |
| 579 | /* 1790 */ p_define,'_','_','?','F','L','O','A','T','_','R','O','U','N','D','?','_','_',' ','u','p',EOL, |
| 580 | /* 1812 */ p_elifidni,'%','1',',','d','o','w','n',EOL, |
| 581 | /* 1821 */ p_define,'_','_','?','F','L','O','A','T','_','R','O','U','N','D','?','_','_',' ','d','o','w','n',EOL, |
| 582 | /* 1845 */ p_elifidni,'%','1',',','z','e','r','o',EOL, |
| 583 | /* 1854 */ p_define,'_','_','?','F','L','O','A','T','_','R','O','U','N','D','?','_','_',' ','z','e','r','o',EOL, |
| 584 | /* 1878 */ p_elifidni,'%','1',',','d','e','f','a','u','l','t',EOL, |
| 585 | /* 1890 */ p_define,'_','_','?','F','L','O','A','T','_','D','A','Z','?','_','_',' ','n','o','d','a','z',EOL, |
| 586 | /* 1913 */ p_define,'_','_','?','F','L','O','A','T','_','R','O','U','N','D','?','_','_',' ','n','e','a','r',EOL, |
| 587 | /* 1937 */ p_endif,EOL, |
| 588 | /* 1939 */ p_rotate,'1',EOL, |
| 589 | /* 1942 */ p_endrep,EOL, |
| 590 | /* 1944 */ p_endmacro,EOL, |
| 591 | /* 1946 */ p_imacro,'d','e','f','a','u','l','t',' ','1','+','.','n','o','l','i','s','t',EOL, |
| 592 | /* 1965 */ '[','d','e','f','a','u','l','t',' ','%','1',']',EOL, |
| 593 | /* 1978 */ p_endmacro,EOL, |
| 594 | /* 1980 */ p_imacro,'u','s','e','r','e','l',' ','0','.','n','o','l','i','s','t',EOL, |
| 595 | /* 1997 */ '[','d','e','f','a','u','l','t',' ','r','e','l',']',EOL, |
| 596 | /* 2011 */ p_endmacro,EOL, |
| 597 | /* 2013 */ p_imacro,'u','s','e','a','b','s',' ','0','.','n','o','l','i','s','t',EOL, |
| 598 | /* 2030 */ '[','d','e','f','a','u','l','t',' ','a','b','s',']',EOL, |
| 599 | /* 2044 */ p_endmacro,EOL, |
| 600 | /* 2046 */ p_imacro,'u','s','e','b','n','d',' ','0','.','n','o','l','i','s','t',EOL, |
| 601 | /* 2063 */ '[','d','e','f','a','u','l','t',' ','b','n','d',']',EOL, |
| 602 | /* 2077 */ p_endmacro,EOL, |
| 603 | /* 2079 */ p_imacro,'u','s','e','n','o','b','n','d',' ','0','.','n','o','l','i','s','t',EOL, |
| 604 | /* 2098 */ '[','d','e','f','a','u','l','t',' ','n','o','b','n','d',']',EOL, |
| 605 | /* 2114 */ p_endmacro,EOL, |
| 606 | /* 2116 */ p_imacro,'i','n','c','b','i','n',' ','1','-','2','+','.','n','o','l','i','s','t',' ','0',EOL, |
| 607 | /* 2138 */ p_push,EOL, |
| 608 | /* 2140 */ p_pathsearch,'%','$','d','e','p',' ','%','1',EOL, |
| 609 | /* 2150 */ p_depend,'%','$','d','e','p',EOL, |
| 610 | /* 2157 */ '%','?',' ','%','$','d','e','p',',','%','2',EOL, |
| 611 | /* 2169 */ p_pop,EOL, |
| 612 | /* 2171 */ p_endmacro,EOL, |
| 613 | /* 2173 */ p_defalias,'_','_','N','A','S','M','_','M','A','J','O','R','_','_',' ','_','_','?','N','A','S','M','_','M','A','J','O','R','?','_','_',EOL, |
| 614 | /* 2206 */ p_defalias,'_','_','N','A','S','M','_','M','I','N','O','R','_','_',' ','_','_','?','N','A','S','M','_','M','I','N','O','R','?','_','_',EOL, |
| 615 | /* 2239 */ p_defalias,'_','_','N','A','S','M','_','S','U','B','M','I','N','O','R','_','_',' ','_','_','?','N','A','S','M','_','S','U','B','M','I','N','O','R','?','_','_',EOL, |
| 616 | /* 2278 */ p_defalias,'_','_','N','A','S','M','_','P','A','T','C','H','L','E','V','E','L','_','_',' ','_','_','?','N','A','S','M','_','P','A','T','C','H','L','E','V','E','L','?','_','_',EOL, |
| 617 | /* 2321 */ p_defalias,'_','_','N','A','S','M','_','S','N','A','P','S','H','O','T','_','_',' ','_','_','?','N','A','S','M','_','S','N','A','P','S','H','O','T','?','_','_',EOL, |
| 618 | /* 2360 */ p_defalias,'_','_','N','A','S','M','_','V','E','R','S','I','O','N','_','I','D','_','_',' ','_','_','?','N','A','S','M','_','V','E','R','S','I','O','N','_','I','D','?','_','_',EOL, |
| 619 | /* 2403 */ p_defalias,'_','_','N','A','S','M','_','V','E','R','_','_',' ','_','_','?','N','A','S','M','_','V','E','R','?','_','_',EOL, |
| 620 | /* 2432 */ p_defalias,'_','_','O','U','T','P','U','T','_','F','O','R','M','A','T','_','_',' ','_','_','?','O','U','T','P','U','T','_','F','O','R','M','A','T','?','_','_',EOL, |
| 621 | /* 2471 */ p_defalias,'_','_','D','E','B','U','G','_','F','O','R','M','A','T','_','_',' ','_','_','?','D','E','B','U','G','_','F','O','R','M','A','T','?','_','_',EOL, |
| 622 | /* 2508 */ p_defalias,'_','_','D','A','T','E','_','_',' ','_','_','?','D','A','T','E','?','_','_',EOL, |
| 623 | /* 2529 */ p_defalias,'_','_','D','A','T','E','_','N','U','M','_','_',' ','_','_','?','D','A','T','E','_','N','U','M','?','_','_',EOL, |
| 624 | /* 2558 */ p_defalias,'_','_','T','I','M','E','_','_',' ','_','_','?','T','I','M','E','?','_','_',EOL, |
| 625 | /* 2579 */ p_defalias,'_','_','T','I','M','E','_','N','U','M','_','_',' ','_','_','?','T','I','M','E','_','N','U','M','?','_','_',EOL, |
| 626 | /* 2608 */ p_defalias,'_','_','U','T','C','_','D','A','T','E','_','_',' ','_','_','?','U','T','C','_','D','A','T','E','?','_','_',EOL, |
| 627 | /* 2637 */ p_defalias,'_','_','U','T','C','_','D','A','T','E','_','N','U','M','_','_',' ','_','_','?','U','T','C','_','D','A','T','E','_','N','U','M','?','_','_',EOL, |
| 628 | /* 2674 */ p_defalias,'_','_','U','T','C','_','T','I','M','E','_','_',' ','_','_','?','U','T','C','_','T','I','M','E','?','_','_',EOL, |
| 629 | /* 2703 */ p_defalias,'_','_','U','T','C','_','T','I','M','E','_','N','U','M','_','_',' ','_','_','?','U','T','C','_','T','I','M','E','_','N','U','M','?','_','_',EOL, |
| 630 | /* 2740 */ p_defalias,'_','_','P','O','S','I','X','_','T','I','M','E','_','_',' ','_','_','?','P','O','S','I','X','_','T','I','M','E','?','_','_',EOL, |
| 631 | /* 2773 */ p_defalias,'_','_','F','I','L','E','_','_',' ','_','_','?','F','I','L','E','?','_','_',EOL, |
| 632 | /* 2794 */ p_defalias,'_','_','L','I','N','E','_','_',' ','_','_','?','L','I','N','E','?','_','_',EOL, |
| 633 | /* 2815 */ p_defalias,'_','_','B','I','T','S','_','_',' ','_','_','?','B','I','T','S','?','_','_',EOL, |
| 634 | /* 2836 */ p_defalias,'_','_','P','T','R','_','_',' ','_','_','?','P','T','R','?','_','_',EOL, |
| 635 | /* 2855 */ p_defalias,'_','_','P','A','S','S','_','_',' ','_','_','?','P','A','S','S','?','_','_',EOL, |
| 636 | /* 2876 */ p_idefine,'_','_','?','i','n','f','i','n','i','t','y','?','_','_',' ','%','?',EOL, |
| 637 | /* 2895 */ p_idefine,'_','_','?','n','a','n','?','_','_',' ','%','?',EOL, |
| 638 | /* 2909 */ p_idefine,'_','_','?','q','n','a','n','?','_','_',' ','%','?',EOL, |
| 639 | /* 2924 */ p_idefine,'_','_','?','s','n','a','n','?','_','_',' ','%','?',EOL, |
| 640 | /* 2939 */ p_idefine,'_','_','?','f','l','o','a','t','8','?','_','_',' ','%','?',EOL, |
| 641 | /* 2956 */ p_idefine,'_','_','?','f','l','o','a','t','1','6','?','_','_',' ','%','?',EOL, |
| 642 | /* 2974 */ p_idefine,'_','_','?','f','l','o','a','t','3','2','?','_','_',' ','%','?',EOL, |
| 643 | /* 2992 */ p_idefine,'_','_','?','f','l','o','a','t','6','4','?','_','_',' ','%','?',EOL, |
| 644 | /* 3010 */ p_idefine,'_','_','?','f','l','o','a','t','8','0','m','?','_','_',' ','%','?',EOL, |
| 645 | /* 3029 */ p_idefine,'_','_','?','f','l','o','a','t','8','0','e','?','_','_',' ','%','?',EOL, |
| 646 | /* 3048 */ p_idefine,'_','_','?','f','l','o','a','t','1','2','8','l','?','_','_',' ','%','?',EOL, |
| 647 | /* 3068 */ p_idefine,'_','_','?','f','l','o','a','t','1','2','8','h','?','_','_',' ','%','?',EOL, |
| 648 | /* 3088 */ p_idefine,'_','_','?','u','t','f','1','6','?','_','_',' ','%','?',EOL, |
| 649 | /* 3104 */ p_idefine,'_','_','?','u','t','f','1','6','l','e','?','_','_',' ','%','?',EOL, |
| 650 | /* 3122 */ p_idefine,'_','_','?','u','t','f','1','6','b','e','?','_','_',' ','%','?',EOL, |
| 651 | /* 3140 */ p_idefine,'_','_','?','u','t','f','3','2','?','_','_',' ','%','?',EOL, |
| 652 | /* 3156 */ p_idefine,'_','_','?','u','t','f','3','2','l','e','?','_','_',' ','%','?',EOL, |
| 653 | /* 3174 */ p_idefine,'_','_','?','u','t','f','3','2','b','e','?','_','_',' ','%','?',EOL, |
| 654 | /* 3192 */ p_idefine,'_','_','?','i','l','o','g','2','e','?','_','_',' ','%','?',EOL, |
| 655 | /* 3209 */ p_idefine,'_','_','?','i','l','o','g','2','w','?','_','_',' ','%','?',EOL, |
| 656 | /* 3226 */ p_idefine,'_','_','?','i','l','o','g','2','f','?','_','_',' ','%','?',EOL, |
| 657 | /* 3243 */ p_idefine,'_','_','?','i','l','o','g','2','c','?','_','_',' ','%','?',EOL, |
| 658 | /* 3260 */ p_idefalias,'_','_','i','n','f','i','n','i','t','y','_','_',' ','_','_','?','i','n','f','i','n','i','t','y','?','_','_',EOL, |
| 659 | /* 3289 */ p_idefalias,'_','_','n','a','n','_','_',' ','_','_','?','n','a','n','?','_','_',EOL, |
| 660 | /* 3308 */ p_idefalias,'_','_','q','n','a','n','_','_',' ','_','_','?','q','n','a','n','?','_','_',EOL, |
| 661 | /* 3329 */ p_idefalias,'_','_','s','n','a','n','_','_',' ','_','_','?','s','n','a','n','?','_','_',EOL, |
| 662 | /* 3350 */ p_idefalias,'_','_','f','l','o','a','t','8','_','_',' ','_','_','?','f','l','o','a','t','8','?','_','_',EOL, |
| 663 | /* 3375 */ p_idefalias,'_','_','f','l','o','a','t','1','6','_','_',' ','_','_','?','f','l','o','a','t','1','6','?','_','_',EOL, |
| 664 | /* 3402 */ p_idefalias,'_','_','f','l','o','a','t','3','2','_','_',' ','_','_','?','f','l','o','a','t','3','2','?','_','_',EOL, |
| 665 | /* 3429 */ p_idefalias,'_','_','f','l','o','a','t','6','4','_','_',' ','_','_','?','f','l','o','a','t','6','4','?','_','_',EOL, |
| 666 | /* 3456 */ p_idefalias,'_','_','f','l','o','a','t','8','0','m','_','_',' ','_','_','?','f','l','o','a','t','8','0','m','?','_','_',EOL, |
| 667 | /* 3485 */ p_idefalias,'_','_','f','l','o','a','t','8','0','e','_','_',' ','_','_','?','f','l','o','a','t','8','0','e','?','_','_',EOL, |
| 668 | /* 3514 */ p_idefalias,'_','_','f','l','o','a','t','1','2','8','l','_','_',' ','_','_','?','f','l','o','a','t','1','2','8','l','?','_','_',EOL, |
| 669 | /* 3545 */ p_idefalias,'_','_','f','l','o','a','t','1','2','8','h','_','_',' ','_','_','?','f','l','o','a','t','1','2','8','h','?','_','_',EOL, |
| 670 | /* 3576 */ p_idefalias,'_','_','u','t','f','1','6','_','_',' ','_','_','?','u','t','f','1','6','?','_','_',EOL, |
| 671 | /* 3599 */ p_idefalias,'_','_','u','t','f','1','6','l','e','_','_',' ','_','_','?','u','t','f','1','6','l','e','?','_','_',EOL, |
| 672 | /* 3626 */ p_idefalias,'_','_','u','t','f','1','6','b','e','_','_',' ','_','_','?','u','t','f','1','6','b','e','?','_','_',EOL, |
| 673 | /* 3653 */ p_idefalias,'_','_','u','t','f','3','2','_','_',' ','_','_','?','u','t','f','3','2','?','_','_',EOL, |
| 674 | /* 3676 */ p_idefalias,'_','_','u','t','f','3','2','l','e','_','_',' ','_','_','?','u','t','f','3','2','l','e','?','_','_',EOL, |
| 675 | /* 3703 */ p_idefalias,'_','_','u','t','f','3','2','b','e','_','_',' ','_','_','?','u','t','f','3','2','b','e','?','_','_',EOL, |
| 676 | /* 3730 */ p_idefalias,'_','_','i','l','o','g','2','e','_','_',' ','_','_','?','i','l','o','g','2','e','?','_','_',EOL, |
| 677 | /* 3755 */ p_idefalias,'_','_','i','l','o','g','2','w','_','_',' ','_','_','?','i','l','o','g','2','w','?','_','_',EOL, |
| 678 | /* 3780 */ p_idefalias,'_','_','i','l','o','g','2','f','_','_',' ','_','_','?','i','l','o','g','2','f','?','_','_',EOL, |
| 679 | /* 3805 */ p_idefalias,'_','_','i','l','o','g','2','c','_','_',' ','_','_','?','i','l','o','g','2','c','?','_','_',EOL, |
| 680 | /* 3830 */ EOL |
Dale Curtis | 5f133c4 | 2018-10-29 17:05:33 -0700 | [diff] [blame] | 681 | }; |
| 682 | #endif |
| 683 | |
| 684 | #if defined(OF_AOUT) || defined(OF_AOUTB) |
| 685 | const unsigned char aout_stdmac[] = { |
| 686 | /* From ./output/outaout.mac */ |
Dale Curtis | e293814 | 2020-06-29 15:29:48 -0700 | [diff] [blame] | 687 | /* 0 */ p_define,'_','_','?','S','E','C','T','?','_','_',' ','[','s','e','c','t','i','o','n',' ','.','t','e','x','t',']',EOL, |
| 688 | /* 28 */ p_macro,'_','_','?','N','A','S','M','_','C','D','e','c','l','?','_','_',' ','1',EOL, |
| 689 | /* 48 */ p_endmacro,EOL, |
| 690 | /* 50 */ EOL |
Dale Curtis | 5f133c4 | 2018-10-29 17:05:33 -0700 | [diff] [blame] | 691 | }; |
| 692 | #endif |
| 693 | |
| 694 | #if defined(OF_AS86) |
| 695 | const unsigned char as86_stdmac[] = { |
| 696 | /* From ./output/outas86.mac */ |
Dale Curtis | e293814 | 2020-06-29 15:29:48 -0700 | [diff] [blame] | 697 | /* 0 */ p_define,'_','_','?','S','E','C','T','?','_','_',' ','[','s','e','c','t','i','o','n',' ','.','t','e','x','t',']',EOL, |
| 698 | /* 28 */ p_macro,'_','_','?','N','A','S','M','_','C','D','e','c','l','?','_','_',' ','1',EOL, |
| 699 | /* 48 */ p_endmacro,EOL, |
| 700 | /* 50 */ EOL |
Dale Curtis | 5f133c4 | 2018-10-29 17:05:33 -0700 | [diff] [blame] | 701 | }; |
| 702 | #endif |
| 703 | |
| 704 | #if defined(OF_BIN) |
| 705 | const unsigned char bin_stdmac[] = { |
| 706 | /* From ./output/outbin.mac */ |
Dale Curtis | e293814 | 2020-06-29 15:29:48 -0700 | [diff] [blame] | 707 | /* 0 */ p_define,'_','_','?','S','E','C','T','?','_','_',' ','[','s','e','c','t','i','o','n',' ','.','t','e','x','t',']',EOL, |
| 708 | /* 28 */ p_imacro,'o','r','g',' ','1','+','.','n','o','l','i','s','t',EOL, |
| 709 | /* 43 */ '[','o','r','g',' ','%','1',']',EOL, |
| 710 | /* 52 */ p_endmacro,EOL, |
| 711 | /* 54 */ p_macro,'_','_','?','N','A','S','M','_','C','D','e','c','l','?','_','_',' ','1',EOL, |
| 712 | /* 74 */ p_endmacro,EOL, |
| 713 | /* 76 */ EOL |
Dale Curtis | 5f133c4 | 2018-10-29 17:05:33 -0700 | [diff] [blame] | 714 | }; |
| 715 | #endif |
| 716 | |
| 717 | #if defined(OF_COFF) || defined(OF_WIN32) || defined(OF_WIN64) |
| 718 | const unsigned char coff_stdmac[] = { |
| 719 | /* From ./output/outcoff.mac */ |
Dale Curtis | e293814 | 2020-06-29 15:29:48 -0700 | [diff] [blame] | 720 | /* 0 */ p_define,'_','_','?','S','E','C','T','?','_','_',' ','[','s','e','c','t','i','o','n',' ','.','t','e','x','t',']',EOL, |
| 721 | /* 28 */ p_macro,'_','_','?','N','A','S','M','_','C','D','e','c','l','?','_','_',' ','1',EOL, |
| 722 | /* 48 */ p_endmacro,EOL, |
| 723 | /* 50 */ p_imacro,'e','x','p','o','r','t',' ','1','+','.','n','o','l','i','s','t',EOL, |
| 724 | /* 68 */ '[','e','x','p','o','r','t',' ','%','1',']',EOL, |
| 725 | /* 80 */ p_endmacro,EOL, |
| 726 | /* 82 */ p_imacro,'s','a','f','e','s','e','h',' ','1','.','n','o','l','i','s','t',EOL, |
| 727 | /* 100 */ '[','s','a','f','e','s','e','h',' ','%','1',']',EOL, |
| 728 | /* 113 */ p_endmacro,EOL, |
| 729 | /* 115 */ EOL |
Dale Curtis | 5f133c4 | 2018-10-29 17:05:33 -0700 | [diff] [blame] | 730 | }; |
| 731 | #endif |
| 732 | |
| 733 | #if defined(OF_DBG) |
| 734 | const unsigned char dbg_stdmac[] = { |
| 735 | /* From ./output/outdbg.mac */ |
Dale Curtis | e293814 | 2020-06-29 15:29:48 -0700 | [diff] [blame] | 736 | /* 0 */ p_define,'_','_','?','S','E','C','T','?','_','_',' ','[','s','e','c','t','i','o','n',' ','.','t','e','x','t',']',EOL, |
| 737 | /* 28 */ p_imacro,'g','r','o','u','p',' ','1','+','.','n','o','l','i','s','t',EOL, |
| 738 | /* 45 */ '[','g','r','o','u','p',' ','%','1',']',EOL, |
| 739 | /* 56 */ p_endmacro,EOL, |
| 740 | /* 58 */ p_imacro,'u','p','p','e','r','c','a','s','e',' ','0','+','.','n','o','l','i','s','t',EOL, |
| 741 | /* 79 */ p_pragma,'d','b','g',' ','u','p','p','e','r','c','a','s','e',' ','%','1',EOL, |
| 742 | /* 97 */ p_endmacro,EOL, |
| 743 | /* 99 */ p_imacro,'e','x','p','o','r','t',' ','1','+','.','n','o','l','i','s','t',EOL, |
| 744 | /* 117 */ p_pragma,'d','b','g',' ','e','x','p','o','r','t',' ','%','1',EOL, |
| 745 | /* 132 */ p_endmacro,EOL, |
| 746 | /* 134 */ p_imacro,'i','m','p','o','r','t',' ','1','+','.','n','o','l','i','s','t',EOL, |
| 747 | /* 152 */ p_pragma,'d','b','g',' ','i','m','p','o','r','t',' ','%','1',EOL, |
| 748 | /* 167 */ p_endmacro,EOL, |
| 749 | /* 169 */ p_macro,'_','_','?','N','A','S','M','_','C','D','e','c','l','?','_','_',' ','1',EOL, |
| 750 | /* 189 */ p_endmacro,EOL, |
| 751 | /* 191 */ EOL |
Dale Curtis | 5f133c4 | 2018-10-29 17:05:33 -0700 | [diff] [blame] | 752 | }; |
| 753 | #endif |
| 754 | |
| 755 | #if defined(OF_ELF) || defined(OF_ELF32) || defined(OF_ELF64) |
| 756 | const unsigned char elf_stdmac[] = { |
| 757 | /* From ./output/outelf.mac */ |
Dale Curtis | e293814 | 2020-06-29 15:29:48 -0700 | [diff] [blame] | 758 | /* 0 */ p_define,'_','_','?','S','E','C','T','?','_','_',' ','[','s','e','c','t','i','o','n',' ','.','t','e','x','t',']',EOL, |
| 759 | /* 28 */ p_macro,'_','_','?','N','A','S','M','_','C','D','e','c','l','?','_','_',' ','1',EOL, |
| 760 | /* 48 */ p_define,'$','_','%','1',' ','$','%','1',EOL, |
| 761 | /* 58 */ p_endmacro,EOL, |
| 762 | /* 60 */ p_imacro,'o','s','a','b','i',' ','1','+','.','n','o','l','i','s','t',EOL, |
| 763 | /* 77 */ '[','%','?',' ','%','1',']',EOL, |
| 764 | /* 85 */ p_endmacro,EOL, |
| 765 | /* 87 */ EOL |
Dale Curtis | 5f133c4 | 2018-10-29 17:05:33 -0700 | [diff] [blame] | 766 | }; |
| 767 | #endif |
| 768 | |
| 769 | #if defined(OF_MACHO) || defined(OF_MACHO32) || defined(OF_MACHO64) |
| 770 | const unsigned char macho_stdmac[] = { |
| 771 | /* From ./output/outmacho.mac */ |
Dale Curtis | e293814 | 2020-06-29 15:29:48 -0700 | [diff] [blame] | 772 | /* 0 */ p_define,'_','_','?','S','E','C','T','?','_','_',' ','[','s','e','c','t','i','o','n',' ','.','t','e','x','t',']',EOL, |
| 773 | /* 28 */ p_macro,'_','_','?','N','A','S','M','_','C','D','e','c','l','?','_','_',' ','1',EOL, |
| 774 | /* 48 */ p_endmacro,EOL, |
| 775 | /* 50 */ p_imacro,'s','u','b','s','e','c','t','i','o','n','s','_','v','i','a','_','s','y','m','b','o','l','s',' ','0','.','n','o','l','i','s','t',EOL, |
| 776 | /* 84 */ p_pragma,'_','_','?','O','U','T','P','U','T','_','F','O','R','M','A','T','?','_','_',' ','%','?',EOL, |
| 777 | /* 108 */ p_endmacro,EOL, |
| 778 | /* 110 */ p_imacro,'n','o','_','d','e','a','d','_','s','t','r','i','p',' ','1','-','*','.','n','o','l','i','s','t',EOL, |
| 779 | /* 136 */ p_rep,'%','0',EOL, |
| 780 | /* 140 */ p_pragma,'_','_','?','O','U','T','P','U','T','_','F','O','R','M','A','T','?','_','_',' ','%','?',' ','%','1',EOL, |
| 781 | /* 167 */ p_rotate,'1',EOL, |
| 782 | /* 170 */ p_endrep,EOL, |
| 783 | /* 172 */ p_endmacro,EOL, |
| 784 | /* 174 */ EOL |
Dale Curtis | 5f133c4 | 2018-10-29 17:05:33 -0700 | [diff] [blame] | 785 | }; |
| 786 | #endif |
| 787 | |
| 788 | #if defined(OF_OBJ) |
| 789 | const unsigned char obj_stdmac[] = { |
| 790 | /* From ./output/outobj.mac */ |
Dale Curtis | e293814 | 2020-06-29 15:29:48 -0700 | [diff] [blame] | 791 | /* 0 */ p_define,'_','_','?','S','E','C','T','?','_','_',' ','[','s','e','c','t','i','o','n',' ','.','t','e','x','t',']',EOL, |
| 792 | /* 28 */ p_imacro,'g','r','o','u','p',' ','1','+','.','n','o','l','i','s','t',EOL, |
| 793 | /* 45 */ '[','g','r','o','u','p',' ','%','1',']',EOL, |
| 794 | /* 56 */ p_endmacro,EOL, |
| 795 | /* 58 */ p_imacro,'u','p','p','e','r','c','a','s','e',' ','0','+','.','n','o','l','i','s','t',EOL, |
| 796 | /* 79 */ '[','u','p','p','e','r','c','a','s','e',' ','%','1',']',EOL, |
| 797 | /* 94 */ p_endmacro,EOL, |
| 798 | /* 96 */ p_imacro,'e','x','p','o','r','t',' ','1','+','.','n','o','l','i','s','t',EOL, |
| 799 | /* 114 */ '[','e','x','p','o','r','t',' ','%','1',']',EOL, |
| 800 | /* 126 */ p_endmacro,EOL, |
| 801 | /* 128 */ p_imacro,'i','m','p','o','r','t',' ','1','+','.','n','o','l','i','s','t',EOL, |
| 802 | /* 146 */ '[','i','m','p','o','r','t',' ','%','1',']',EOL, |
| 803 | /* 158 */ p_endmacro,EOL, |
| 804 | /* 160 */ p_macro,'_','_','?','N','A','S','M','_','C','D','e','c','l','?','_','_',' ','1',EOL, |
| 805 | /* 180 */ p_endmacro,EOL, |
| 806 | /* 182 */ EOL |
Dale Curtis | 5f133c4 | 2018-10-29 17:05:33 -0700 | [diff] [blame] | 807 | }; |
| 808 | #endif |
| 809 | |
| 810 | #if defined(OF_RDF2) |
| 811 | const unsigned char rdf2_stdmac[] = { |
| 812 | /* From ./output/outrdf2.mac */ |
Dale Curtis | e293814 | 2020-06-29 15:29:48 -0700 | [diff] [blame] | 813 | /* 0 */ p_define,'_','_','?','S','E','C','T','?','_','_',' ','[','s','e','c','t','i','o','n',' ','.','t','e','x','t',']',EOL, |
| 814 | /* 28 */ p_imacro,'l','i','b','r','a','r','y',' ','1','+','.','n','o','l','i','s','t',EOL, |
| 815 | /* 47 */ '[','l','i','b','r','a','r','y',' ','%','1',']',EOL, |
| 816 | /* 60 */ p_endmacro,EOL, |
| 817 | /* 62 */ p_imacro,'m','o','d','u','l','e',' ','1','+','.','n','o','l','i','s','t',EOL, |
| 818 | /* 80 */ '[','m','o','d','u','l','e',' ','%','1',']',EOL, |
| 819 | /* 92 */ p_endmacro,EOL, |
| 820 | /* 94 */ p_macro,'_','_','?','N','A','S','M','_','C','D','e','c','l','?','_','_',' ','1',EOL, |
| 821 | /* 114 */ p_endmacro,EOL, |
| 822 | /* 116 */ EOL |
Dale Curtis | 5f133c4 | 2018-10-29 17:05:33 -0700 | [diff] [blame] | 823 | }; |
| 824 | #endif |
| 825 | |
| 826 | #if defined(OF_RDF) |
| 827 | const unsigned char rdf_stdmac[] = { |
| 828 | /* From ./output/outrdf.mac */ |
Dale Curtis | e293814 | 2020-06-29 15:29:48 -0700 | [diff] [blame] | 829 | /* 0 */ p_define,'_','_','?','S','E','C','T','?','_','_',' ','[','s','e','c','t','i','o','n',' ','.','t','e','x','t',']',EOL, |
| 830 | /* 28 */ p_imacro,'l','i','b','r','a','r','y',' ','1','+','.','n','o','l','i','s','t',EOL, |
| 831 | /* 47 */ '[','l','i','b','r','a','r','y',' ','%','1',']',EOL, |
| 832 | /* 60 */ p_endmacro,EOL, |
| 833 | /* 62 */ p_macro,'_','_','?','N','A','S','M','_','C','D','e','c','l','?','_','_',' ','1',EOL, |
| 834 | /* 82 */ p_endmacro,EOL, |
| 835 | /* 84 */ EOL |
Dale Curtis | 5f133c4 | 2018-10-29 17:05:33 -0700 | [diff] [blame] | 836 | }; |
| 837 | #endif |
Dale Curtis | e293814 | 2020-06-29 15:29:48 -0700 | [diff] [blame] | 838 | const int use_package_count = 5; |
| 839 | |
| 840 | const struct use_package *nasm_find_use_package(const char *name) |
Dale Curtis | 5f133c4 | 2018-10-29 17:05:33 -0700 | [diff] [blame] | 841 | { |
Dale Curtis | e293814 | 2020-06-29 15:29:48 -0700 | [diff] [blame] | 842 | static const struct use_package packages[5] = { |
| 843 | { "altreg", nasm_usemac_altreg, 0 }, |
| 844 | { "fp", nasm_usemac_fp, 1 }, |
| 845 | { "ifunc", nasm_usemac_ifunc, 2 }, |
| 846 | { "masm", nasm_usemac_masm, 3 }, |
| 847 | { "smartalign", nasm_usemac_smartalign, 4 }, |
Dale Curtis | 5f133c4 | 2018-10-29 17:05:33 -0700 | [diff] [blame] | 848 | }; |
Dale Curtis | 81fc45a | 2020-07-01 12:22:26 -0700 | [diff] [blame] | 849 | #define UNUSED_HASH_ENTRY (65535/3) |
Dale Curtis | 5f133c4 | 2018-10-29 17:05:33 -0700 | [diff] [blame] | 850 | static const int16_t hash1[4] = { |
| 851 | 0, |
| 852 | 0, |
Dale Curtis | e293814 | 2020-06-29 15:29:48 -0700 | [diff] [blame] | 853 | 3, |
Dale Curtis | 5f133c4 | 2018-10-29 17:05:33 -0700 | [diff] [blame] | 854 | -1, |
| 855 | }; |
| 856 | static const int16_t hash2[4] = { |
| 857 | 1, |
| 858 | 2, |
Dale Curtis | e293814 | 2020-06-29 15:29:48 -0700 | [diff] [blame] | 859 | 0, |
Dale Curtis | 81fc45a | 2020-07-01 12:22:26 -0700 | [diff] [blame] | 860 | UNUSED_HASH_ENTRY, |
Dale Curtis | 5f133c4 | 2018-10-29 17:05:33 -0700 | [diff] [blame] | 861 | }; |
| 862 | uint32_t k1, k2; |
| 863 | uint64_t crc; |
| 864 | uint16_t ix; |
| 865 | |
Dale Curtis | e293814 | 2020-06-29 15:29:48 -0700 | [diff] [blame] | 866 | crc = crc64i(UINT64_C(0x076259c3e291c26c), name); |
Dale Curtis | 5f133c4 | 2018-10-29 17:05:33 -0700 | [diff] [blame] | 867 | k1 = (uint32_t)crc; |
| 868 | k2 = (uint32_t)(crc >> 32); |
| 869 | |
| 870 | ix = hash1[k1 & 0x3] + hash2[k2 & 0x3]; |
Dale Curtis | e293814 | 2020-06-29 15:29:48 -0700 | [diff] [blame] | 871 | if (ix >= 5) |
Dale Curtis | 5f133c4 | 2018-10-29 17:05:33 -0700 | [diff] [blame] | 872 | return NULL; |
| 873 | |
Dale Curtis | e293814 | 2020-06-29 15:29:48 -0700 | [diff] [blame] | 874 | if (nasm_stricmp(packages[ix].package, name)) |
Dale Curtis | 5f133c4 | 2018-10-29 17:05:33 -0700 | [diff] [blame] | 875 | return NULL; |
| 876 | |
Dale Curtis | e293814 | 2020-06-29 15:29:48 -0700 | [diff] [blame] | 877 | return &packages[ix]; |
Dale Curtis | 5f133c4 | 2018-10-29 17:05:33 -0700 | [diff] [blame] | 878 | } |