255 |
|
int pos = 0; |
256 |
|
int mnp = 0; |
257 |
|
int bitno = 0; |
258 |
< |
char mnemonic[10]; |
258 |
> |
char mnemonic[64]; |
259 |
|
|
260 |
|
wordsizes sz = sz_long; |
261 |
|
int srcgather = 0, dstgather = 0; |
332 |
|
} |
333 |
|
} |
334 |
|
mnp++; |
335 |
+ |
if ((unsigned)mnp >= sizeof(mnemonic) - 1) { |
336 |
+ |
mnemonic[sizeof(mnemonic) - 1] = 0; |
337 |
+ |
fprintf(stderr, "Instruction %s overflow\n", mnemonic); |
338 |
+ |
abort(); |
339 |
+ |
} |
340 |
|
} |
341 |
|
pos++; |
342 |
|
} |
791 |
|
|| (table68k[opc].mnemo == i_BSR) \ |
792 |
|
) |
793 |
|
|
794 |
+ |
// Precise const jumps as such. The JIT compiler will take |
795 |
+ |
// care to actually enable that optimization or not |
796 |
+ |
if (IS_CONST_JUMP(i)) |
797 |
+ |
table68k[i].cflow |= fl_const_jump; |
798 |
+ |
|
799 |
|
// Fix flags used information for Scc, Bcc, TRAPcc, DBcc instructions |
800 |
|
int flags_used = table68k[i].flaglive; |
801 |
|
if ( (mnemo == i_Scc) |