| 1427 | |
| 1428 | |
| 1429 | static void exception2_fetch_common(uae_u32 opcode, int offset) |
| 1430 | { |
| 1431 | test_exception = 2; |
| 1432 | test_exception_3_w = 0; |
| 1433 | test_exception_addr = m68k_getpci() + offset; |
| 1434 | test_exception_opcode = opcode; |
| 1435 | test_exception_3_fc = 2; |
| 1436 | test_exception_3_size = sz_word; |
| 1437 | test_exception_3_di = 0; |
| 1438 | |
| 1439 | if (currprefs.cpu_model == 68000) { |
| 1440 | if (generates_group1_exception(regs.ir) && !(opcode & 0x20000)) { |
| 1441 | test_exception_3_fc |= 8; // set N/I |
| 1442 | } |
| 1443 | if (opcode & 0x10000) |
| 1444 | test_exception_3_fc |= 8; |
| 1445 | } |
| 1446 | } |
| 1447 | |
| 1448 | void exception2_fetch(uae_u32 opcode, int offset, int pcoffset) |
| 1449 | { |
no test coverage detected