trunk/src/emu/cpu/m68000/m68kdasm.c
| r242300 | r242301 | |
| 1718 | 1718 | sprintf(g_dasm_str, "extb.l D%d; (2+)", g_cpu_ir&7); |
| 1719 | 1719 | } |
| 1720 | 1720 | |
| 1721 | static void d68881_ftrap(void) |
| 1722 | { |
| 1723 | UINT16 w2, w3; |
| 1724 | UINT32 l2; |
| 1725 | |
| 1726 | LIMIT_CPU_TYPES(M68020_PLUS); |
| 1727 | w2 = read_imm_16(); |
| 1728 | |
| 1729 | switch (g_cpu_ir & 0x7) |
| 1730 | { |
| 1731 | case 2: // word operand |
| 1732 | w3 = read_imm_16(); |
| 1733 | sprintf(g_dasm_str, "ftrap%s.w $%04x", g_cpcc[w2 & 0x3f], w3); |
| 1734 | break; |
| 1735 | |
| 1736 | case 3: // long word operand |
| 1737 | l2 = read_imm_32(); |
| 1738 | sprintf(g_dasm_str, "ftrap%s.l $%08x", g_cpcc[w2 & 0x3f], l2); |
| 1739 | break; |
| 1740 | |
| 1741 | case 4: // no operand |
| 1742 | sprintf(g_dasm_str, "ftrap%s", g_cpcc[w2 & 0x3f]); |
| 1743 | break; |
| 1744 | } |
| 1745 | } |
| 1746 | |
| 1721 | 1747 | static void d68040_fpu(void) |
| 1722 | 1748 | { |
| 1723 | 1749 | char float_data_format[8][3] = |
| r242300 | r242301 | |
| 3456 | 3482 | {d68020_bfins , 0xffc0, 0xefc0, 0xa78}, |
| 3457 | 3483 | {d68020_bfset , 0xffc0, 0xeec0, 0xa78}, |
| 3458 | 3484 | {d68020_bftst , 0xffc0, 0xe8c0, 0xa7b}, |
| 3485 | {d68881_ftrap , 0xfff8, 0xf278, 0x000}, |
| 3459 | 3486 | {d68010_bkpt , 0xfff8, 0x4848, 0x000}, |
| 3460 | 3487 | {d68000_bra_8 , 0xff00, 0x6000, 0x000}, |
| 3461 | 3488 | {d68000_bra_16 , 0xffff, 0x6000, 0x000}, |